aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]