Files
oldest-dotfiles/i3blocks/brightness

9 lines
151 B
Plaintext
Executable File

case $BLOCK_BUTTON in
3) xbacklight -set 20 ;;
4) xbacklight -inc 10 ;;
5) xbacklight -dec 10 ;;
esac
printf "%.0f" "$(xbacklight -get)"