dotwryn/bin/backlight

20 lines
269 B
Bash
Executable File

#!/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
$DOTWRYN/bin/play-sound backlight