diff options
author | Adrian Kummerlaender | 2018-10-31 19:21:46 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2018-10-31 19:21:46 +0100 |
commit | 20898175979bbb2cf84a959c2c235531bc492c59 (patch) | |
tree | b309bbe99e7cc209fc8bfe033e4954735b780659 /gui/conf | |
parent | 5beed8746a13dfc150f1adc8426efbdccc440c9d (diff) | |
download | nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.tar nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.tar.gz nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.tar.bz2 nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.tar.lz nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.tar.xz nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.tar.zst nixos_home-20898175979bbb2cf84a959c2c235531bc492c59.zip |
Add keybinding for networkmanager_dmenu
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/xmonad.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index b9f8f76..1492739 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -117,7 +117,8 @@ hostSpecificKeybindings host = case host of "asterix" -> [ ("M-i b" , showNotification "Battery" "`acpi | cut -c 10-`") , ("M-i c" , showNotification "`acpi --thermal | awk '{print $4}'`°C" - "`cat /proc/acpi/ibm/fan | awk '/speed/{print $2}'` RPM") ] + "`cat /proc/acpi/ibm/fan | awk '/speed/{print $2}'` RPM") + , ("M-c n" , spawn "networkmanager_dmenu") ] "obelix" -> [ ("M-i g" , showNotification "GPU" "`nvidia-smi --query-gpu=name,temperature.gpu,utilization.gpu,utilization.memory --format=csv,noheader | awk -F',' '{print $1 \" running at\" $2 \"°C due to\" $3 \" load and\" $4 \" memory usage\"}'`") ] _ -> [ ] |