mirror of
https://gitlab.com/dbrw/ansible-setup.git
synced 2026-02-05 21:45:32 +07:00
initial commit
This commit is contained in:
13
roles/common/files/user_home/.local/bin/brightness
Executable file
13
roles/common/files/user_home/.local/bin/brightness
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
case $1 in
|
||||
"up")
|
||||
xbacklight -inc 5
|
||||
;;
|
||||
"down")
|
||||
xbacklight -dec 5
|
||||
;;
|
||||
*)
|
||||
xbacklight -get
|
||||
esac
|
||||
dunstify -a "Brightness" -r 88879 -u low -t 1500 $(xbacklight -get)
|
||||
Reference in New Issue
Block a user