Lock the screen whin press on XF86XK_Suspend key

This commit is contained in:
Anas Elgarhy 2022-07-24 17:37:15 +02:00
parent 95139f7f17
commit 6288fd7d0c

View file

@ -161,6 +161,7 @@ static Keychord keychords[] = {
/* ---------------------------------- lock Keys ---------------------------------- */
// Lock the screen
{1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
{1, {{0, XF86XK_Suspend}}, spawn, SHCMD("betterlockscreen -l dim") },
// Kill dwm (super + shift + alt + q)
{1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
};