Update
This commit is contained in:
@@ -8,14 +8,14 @@ case $1 in
|
||||
(( current_backlight += 5 ))
|
||||
[[ $current_backlight -gt 100 ]] && current_backlight=100
|
||||
|
||||
xbacklight -set $current_backlight
|
||||
xbacklight -set $current_backlight -time 0
|
||||
notify-send -t 250 "BL: $current_backlight"
|
||||
;;
|
||||
"lower")
|
||||
(( current_backlight -= 5 ))
|
||||
[[ $current_backlight -lt 5 ]] && current_backlight=1
|
||||
|
||||
xbacklight -set $current_backlight
|
||||
xbacklight -set $current_backlight -time 0
|
||||
notify-send -t 250 "BL: $current_backlight"
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user