aboutsummaryrefslogtreecommitdiff
path: root/.config/yambar/scripts/brightnesscontrol
diff options
context:
space:
mode:
Diffstat (limited to '.config/yambar/scripts/brightnesscontrol')
-rwxr-xr-x.config/yambar/scripts/brightnesscontrol4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/yambar/scripts/brightnesscontrol b/.config/yambar/scripts/brightnesscontrol
index 797a1db..1be6c9c 100755
--- a/.config/yambar/scripts/brightnesscontrol
+++ b/.config/yambar/scripts/brightnesscontrol
@@ -23,13 +23,13 @@ function send_notification {
case $1 in
up)
# increase the backlight by 5%
- brightnessctl s +5
+ brightnessctl -s > ~/.cache/brightness s +5
send_notification
#canberra-gtk-play -i audio-volume-change
;;
down)
# decrease the backlight by 5%
- brightnessctl s 5-
+ brightnessctl -s > ~/.cache/brightness s 5-
send_notification
#canberra-gtk-play -i audio-volume-change
;;