diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2024-02-03 12:04:07 +0000 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2024-02-03 12:04:07 +0000 |
commit | 9a67fd61ef6c0c65bf6b0fa9b22d79d9236a99b8 (patch) | |
tree | ce556074ba101c9b09ec27f50987877a6c1dd88c /scripts/.local | |
parent | 3a75ef24c0f9ef6979b4a46e08b0f6d035e49619 (diff) |
Updated scripts
Diffstat (limited to 'scripts/.local')
-rwxr-xr-x | scripts/.local/bin/backlightctl | 4 |
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 |