dotwryn/bin/backlight
2022-02-06 00:15:14 -07:00

20 lines
254 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
PLAY_SFX backlight