1
0
Fork 0
ryzowanie/config/i3blocks/blocklets/backlight

9 lines
136 B
Text
Raw Permalink Normal View History

2024-06-11 21:55:28 +02:00
#!/bin/sh
case $BLOCK_BUTTON in
4) xbacklight -inc 20 ;;
5) xbacklight -dec 20 ;;
esac
echo  $(xbacklight -get | cut -d'.' -f1)%