added slock to xmonad, part of suckless tools, for lockscreen
This commit is contained in:
parent
7098e6d2ea
commit
5ae91352fe
@ -147,11 +147,14 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
|||||||
, ((modm, xK_o ), spawn "dmenu_run")
|
, ((modm, xK_o ), spawn "dmenu_run")
|
||||||
|
|
||||||
-- prompt computer shutdown
|
-- prompt computer shutdown
|
||||||
, ((modm .|. shiftMask, xK_s ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Shutdown?\" \"shutdown -h now\"")
|
, ((modm .|. shiftMask, xK_s ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Shutdown?\" \"shutdown now\"")
|
||||||
|
|
||||||
-- prompt computer reboot
|
-- prompt computer reboot
|
||||||
, ((modm .|. shiftMask, xK_r ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Restart?\" \"reboot\"")
|
, ((modm .|. shiftMask, xK_r ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to Restart?\" \"reboot\"")
|
||||||
|
|
||||||
|
-- prompt computer lock
|
||||||
|
, ((modm .|. shiftMask, xK_l ), spawn "/home/solomon/.scripts/prompt \"Are you sure you want to lock?\" \"slock\"")
|
||||||
|
|
||||||
-- launch rofi ssh
|
-- launch rofi ssh
|
||||||
, ((modm .|. shiftMask, xK_a ), spawn "rofi -show ssh")
|
, ((modm .|. shiftMask, xK_a ), spawn "rofi -show ssh")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user