aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/xmonad.hs
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-11-15 20:14:15 +0100
committerAdrian Kummerlaender2018-11-15 20:14:15 +0100
commitbf3c79332de9c138337485cd227dad5dd6801da0 (patch)
tree881da8f3109688f5409b7f4d0ad4ad96e49f5a01 /gui/conf/xmonad.hs
parent20898175979bbb2cf84a959c2c235531bc492c59 (diff)
downloadnixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.tar
nixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.tar.gz
nixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.tar.bz2
nixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.tar.lz
nixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.tar.xz
nixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.tar.zst
nixos_home-bf3c79332de9c138337485cd227dad5dd6801da0.zip
Add suspend, hibernate keybindings to XMonad
Diffstat (limited to 'gui/conf/xmonad.hs')
-rw-r--r--gui/conf/xmonad.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 1492739..dacc90a 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -182,7 +182,9 @@ commonKeybindings host =
-- system control
, ("M-c <Up>" , spawn "amixer sset Master 10%+")
, ("M-c <Down>" , spawn "amixer sset Master 10%-")
- , ("M-c m" , spawn "amixer sset Master toggle") ]
+ , ("M-c m" , spawn "amixer sset Master toggle")
+ , ("M-c s" , spawn "systemctl suspend")
+ , ("M-c h" , spawn "systemctl hibernate") ]
customKeybindings host = concatMap ($ host) [commonKeybindings, hostSpecificKeybindings]