Added % so increase and decrease are more accurate

This commit is contained in:
RealStickman 2020-10-11 21:20:15 +02:00
parent 51c33008c5
commit a551a9aac7

View File

@ -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