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
|
case $1 in
|
||||||
up)
|
up)
|
||||||
# Increase backlight
|
# Increase backlight
|
||||||
xbacklight -inc 10 > /dev/null
|
xbacklight -inc 10% > /dev/null
|
||||||
send_notification
|
send_notification
|
||||||
;;
|
;;
|
||||||
down)
|
down)
|
||||||
# Decrease backlight
|
# Decrease backlight
|
||||||
xbacklight -dec 10 > /dev/null
|
xbacklight -dec 10% > /dev/null
|
||||||
send_notification
|
send_notification
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user