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 ++-- host/athena.nix | 2 +- 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") - , ("" , 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") 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; -- cgit v1.2.3