summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/backlightctl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin/backlightctl')
-rwxr-xr-xscripts/.local/bin/backlightctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/.local/bin/backlightctl b/scripts/.local/bin/backlightctl
index e756040..8426a8f 100755
--- a/scripts/.local/bin/backlightctl
+++ b/scripts/.local/bin/backlightctl
@@ -3,8 +3,8 @@
# Controls backlighting of LCD
case $1 in
"+")
- (xbacklight -inc 5 || doas light -A 5)
+ (xbacklight -inc 5 || brightnessctl s +5%)
;;
"-")
- (xbacklight -dec 5 || doas light -U 5)
+ (xbacklight -dec 5 || brightnessctl s 5%-)
esac