From ea0887f5670e87973ffd526536b59891cd2c85d8 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 15 Mar 2020 15:48:02 -0400 Subject: [PATCH] scroll lock toggles screenkey --- config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.h b/config.h index 13d6f78..3ce8afd 100644 --- a/config.h +++ b/config.h @@ -201,6 +201,7 @@ static Key keys[] = { { MODKEY, XK_Print, spawn, SHCMD("dmenurecord") }, { MODKEY|ShiftMask, XK_Print, spawn, SHCMD("dmenurecord kill") }, { MODKEY, XK_Delete, spawn, SHCMD("dmenurecord kill") }, + { MODKEY, XK_Scroll_Lock, spawn, SHCMD("killall screenkey || screenkey &") }, { 0, XF86XK_AudioMute, spawn, SHCMD("amixer sset Master toggle ; pkill -RTMIN+10 dwmblocks") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("amixer sset Master 5%+ ; pkill -RTMIN+10 dwmblocks") },