aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-31 19:21:46 +0100
committerAdrian Kummerlaender2018-10-31 19:21:46 +0100
commit20898175979bbb2cf84a959c2c235531bc492c59 (patch)
treeb309bbe99e7cc209fc8bfe033e4954735b780659
parent5beed8746a13dfc150f1adc8426efbdccc440c9d (diff)
downloadnixos_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
-rw-r--r--gui/conf/xmonad.hs3
-rw-r--r--host/asterix.nix1
2 files changed, 3 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\"}'`") ]
_ -> [ ]
diff --git a/host/asterix.nix b/host/asterix.nix
index 984bfd0..925713c 100644
--- a/host/asterix.nix
+++ b/host/asterix.nix
@@ -11,5 +11,6 @@
in [
# only asterix has a 3g modem
mypkgs.modem-manager-gui
+ pkgs.networkmanager_dmenu
];
}