aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/conf/xmonad.hs4
-rw-r--r--host/athena.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 6d7b513..674d957 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -143,8 +143,8 @@ hostSpecificKeybindings host = case host of
, ("M-i c" , showNotification "`acpi --thermal | awk '{print $4}'`°C"
"`cat /proc/acpi/ibm/fan | awk '/speed/{print $2}'` RPM")
, ("M-c n" , spawn "networkmanager_dmenu")
- , ("<XF86MonBrightnessUp>" , spawn "xbacklight -inc 5")
- , ("<XF86MonBrightnessDown>" , spawn "xbacklight -dec 5")
+ , ("<XF86MonBrightnessUp>" , spawn "brightnessctl s +5%")
+ , ("<XF86MonBrightnessDown>" , spawn "brightnessctl s 5%-")
, ("<XF86AudioRaiseVolume>" , spawn "amixer sset Master 10%+")
, ("<XF86AudioLowerVolume>" , spawn "amixer sset Master 10%-")
, ("<XF86AudioMute>" , spawn "amixer sset Master toggle")
diff --git a/host/athena.nix b/host/athena.nix
index 362d7cd..9a2dba3 100644
--- a/host/athena.nix
+++ b/host/athena.nix
@@ -11,7 +11,7 @@
home.packages = with pkgs; [
acpi
- xorg.xbacklight
+ brightnessctl
];
custom.hidpi = true;