From 20898175979bbb2cf84a959c2c235531bc492c59 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 31 Oct 2018 19:21:46 +0100 Subject: Add keybinding for networkmanager_dmenu --- gui/conf/xmonad.hs | 3 ++- host/asterix.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 ]; } -- cgit v1.2.3