diff options
author | Adrian Kummerlaender | 2018-07-12 21:02:27 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-07-12 21:02:27 +0200 |
commit | cccf226f85b33d7f709588d1220ba93b87b5cbf8 (patch) | |
tree | 5c2cbb0041dbb350145f01bb590386c81bbffa39 /gui | |
parent | 32fe717f0f4605737e1be6c4f80cccab7c4b676a (diff) | |
download | nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.tar nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.tar.gz nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.tar.bz2 nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.tar.lz nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.tar.xz nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.tar.zst nixos_home-cccf226f85b33d7f709588d1220ba93b87b5cbf8.zip |
Add thermal info keybinding to XMonad
Candidate for host-specific configuration.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/conf/xmonad.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index cc23718..9c5b192 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -125,6 +125,7 @@ customKeybindings = -- system information , ("M-i t" , spawn "notify-send \"`date +%T`\" \"`date +\"%Y-%m-%d\"`\"") , ("M-i b" , spawn "notify-send Battery \"`acpi | cut -c 10-`\"") + , ("M-i c" , spawn "notify-send \"`acpi --thermal | awk '{print $4}'`°C\" \"`cat /proc/acpi/ibm/fan | awk '/speed/{print $2}'` RPM\"") -- system control , ("M-c <Up>" , spawn "amixer sset Master 10%+") , ("M-c <Down>" , spawn "amixer sset Master 10%-") |