20 lines
254 B
Plaintext
20 lines
254 B
Plaintext
|
#!/bin/zsh
|
||
|
source $HOME/.config/wryn/env.zsh
|
||
|
|
||
|
case $1 in
|
||
|
up )
|
||
|
xbacklight + 10 \
|
||
|
|| gmux_backlight +100
|
||
|
;;
|
||
|
down )
|
||
|
xbacklight - 10 \
|
||
|
|| gmux_backlight -100
|
||
|
;;
|
||
|
* )
|
||
|
echo 'must specify "up" or "down"'
|
||
|
exit 1
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
PLAY_SFX backlight
|