Added % so increase and decrease are more accurate
This commit is contained in:
parent
51c33008c5
commit
a551a9aac7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user