blob: 7153276263f444f005bdb7be7b8da81cda8bcc40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
[ "$#" -ne 1 ] && exit 1;
case "$1" in
"up") xbacklight -inc 5 ;;
"down") xbacklight -dec 5 ;;
*) exit 1 ;;
esac
notify-send "backlight $(xbacklight | cut -d '.' -f 1)"
|