diff options
author | Adrian Kummerlaender | 2018-11-15 20:14:15 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2018-11-15 20:14:15 +0100 |
commit | bf3c79332de9c138337485cd227dad5dd6801da0 (patch) | |
tree | 881da8f3109688f5409b7f4d0ad4ad96e49f5a01 /gui/conf | |
parent | 20898175979bbb2cf84a959c2c235531bc492c59 (diff) | |
download | nixos_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')
-rw-r--r-- | gui/conf/xmonad.hs | 4 |
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] |