Lock the screen whin press on XF86XK_Suspend key
This commit is contained in:
parent
95139f7f17
commit
6288fd7d0c
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ static Keychord keychords[] = {
|
||||||
/* ---------------------------------- lock Keys ---------------------------------- */
|
/* ---------------------------------- lock Keys ---------------------------------- */
|
||||||
// Lock the screen
|
// Lock the screen
|
||||||
{1, {{MODKEY|ShiftMask, XK_x}}, spawn, SHCMD("betterlockscreen -l dim") },
|
{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)
|
// Kill dwm (super + shift + alt + q)
|
||||||
{1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
|
{1, {{MODKEY|ShiftMask|Mod1Mask, XK_q}}, quit, {0} },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue