From 6e30d962b5277b984abfec03232043febbfdff2e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 1 Jul 2020 10:26:33 +0200 Subject: Switch to brightnessctl xbacklight stopped working for some reason --- gui/conf/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/conf') 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") - , ("" , spawn "xbacklight -inc 5") - , ("" , spawn "xbacklight -dec 5") + , ("" , spawn "brightnessctl s +5%") + , ("" , spawn "brightnessctl s 5%-") , ("" , spawn "amixer sset Master 10%+") , ("" , spawn "amixer sset Master 10%-") , ("" , spawn "amixer sset Master toggle") -- cgit v1.2.3