summaryrefslogtreecommitdiff
path: root/scripts/.local
diff options
context:
space:
mode:
authorRafael Marçalo <raroma09@gmail.com>2024-02-03 12:04:07 +0000
committerRafael Marçalo <raroma09@gmail.com>2024-02-03 12:04:07 +0000
commit9a67fd61ef6c0c65bf6b0fa9b22d79d9236a99b8 (patch)
treece556074ba101c9b09ec27f50987877a6c1dd88c /scripts/.local
parent3a75ef24c0f9ef6979b4a46e08b0f6d035e49619 (diff)
Updated scripts
Diffstat (limited to 'scripts/.local')
-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