Add brightness block

This commit is contained in:
Riyyi
2017-12-24 00:47:28 +01:00
parent cc50e510d9
commit a1f72d0eb3
3 changed files with 31 additions and 11 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
case $BLOCK_BUTTON in
# right click
3) xbacklight -set 30;;
# scroll up
4) xbacklight -inc 10 ;;
# scroll down
5) xbacklight -dec 10 ;;
esac
printf "%.0f" "$(xbacklight -get)"