dotwryn/bin/backlight

20 lines
254 B
Plaintext
Raw Normal View History

2022-02-06 07:15:14 +00:00
#!/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