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