From a551a9aac7c23b5a12ccc7d1f74f1b9c55787fc6 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 11 Oct 2020 21:20:15 +0200 Subject: [PATCH] Added % so increase and decrease are more accurate --- arch-config/scripts/dunst-backlight.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-config/scripts/dunst-backlight.sh b/arch-config/scripts/dunst-backlight.sh index a046e918..7909a392 100644 --- a/arch-config/scripts/dunst-backlight.sh +++ b/arch-config/scripts/dunst-backlight.sh @@ -20,12 +20,12 @@ send_notification() { case $1 in up) # Increase backlight - xbacklight -inc 10 > /dev/null + xbacklight -inc 10% > /dev/null send_notification ;; down) # Decrease backlight - xbacklight -dec 10 > /dev/null + xbacklight -dec 10% > /dev/null send_notification ;; esac