aboutsummaryrefslogtreecommitdiff
path: root/gui/conf/xmonad.hs
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-07-14 15:58:14 +0200
committerAdrian Kummerlaender2018-07-14 15:58:14 +0200
commit9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e (patch)
tree43c78eb27f9660a7c70b8f7cfa9b357bad1a6230 /gui/conf/xmonad.hs
parent07ea337ef0a68068708208f8bec897f9381266af (diff)
downloadnixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.tar
nixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.tar.gz
nixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.tar.bz2
nixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.tar.lz
nixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.tar.xz
nixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.tar.zst
nixos_home-9abc8a72d2c44e482af4cac2d3bcd9cae0e5503e.zip
Add load notification keybinding to XMonad
Diffstat (limited to 'gui/conf/xmonad.hs')
-rw-r--r--gui/conf/xmonad.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 76a5920..8f0cae4 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -132,6 +132,7 @@ commonKeybindings =
, ("M-w l" , withFocused $ placeFloating sideBarRight)
-- system information
, ("M-i t" , spawn "notify-send \"`date +%T`\" \"`date +\"%Y-%m-%d\"`\"")
+ , ("M-i l" , spawn "notify-send Load \"`cut -c -14 /proc/loadavg`\"")
-- system control
, ("M-c <Up>" , spawn "amixer sset Master 10%+")
, ("M-c <Down>" , spawn "amixer sset Master 10%-")