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

17 lines
248 B
Bash
Executable File

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