1
0
mirror of https://gitlab.com/dbrw/ansible-setup.git synced 2025-08-04 23:55:41 +07:00
ansible-setup/roles/common/files/user_home/.local/bin/brightness
2022-06-29 17:19:22 +07:00

14 lines
206 B
Bash
Executable File

#!/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)