fix some bugs in the icon lookup
This commit is contained in:
10
awesome/src/scripts/backlight.sh
Executable file
10
awesome/src/scripts/backlight.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
case $1 in
|
||||
"get")
|
||||
echo $(xfpm-power-backlight-helper --get-brightness)
|
||||
;;
|
||||
"set")
|
||||
echo $(pkexec xfpm-power-backlight-helper --set-brightness $2)
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user