diff options
author | Adrian Kummerlaender | 2020-07-01 10:26:33 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2020-07-01 10:26:33 +0200 |
commit | 6e30d962b5277b984abfec03232043febbfdff2e (patch) | |
tree | 610bb7627d251d94cb3787b454672ff8911b1a18 /gui | |
parent | ebc83f9965f21d427450e6d24950ffe7ec14fef1 (diff) | |
download | nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.tar nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.tar.gz nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.tar.bz2 nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.tar.lz nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.tar.xz nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.tar.zst nixos_home-6e30d962b5277b984abfec03232043febbfdff2e.zip |
Switch to brightnessctl
xbacklight stopped working for some reason
Diffstat (limited to 'gui')
-rw-r--r-- | gui/conf/xmonad.hs | 4 |
1 files changed, 2 insertions, 2 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") |