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:
16
roles/common/files/user_home/.local/bin/vol
Executable file
16
roles/common/files/user_home/.local/bin/vol
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
case $1 in
|
||||
"up")
|
||||
pamixer -i 3
|
||||
;;
|
||||
"down")
|
||||
pamixer -d 3
|
||||
;;
|
||||
"mute")
|
||||
pamixer -t
|
||||
;;
|
||||
*)
|
||||
pamixer --get-volume-human
|
||||
esac
|
||||
dunstify -a "Volume" -r 88878 -u low -t 1500 $(pamixer --get-volume-human)
|
||||
Reference in New Issue
Block a user