updates for volume controls in awesome

This commit is contained in:
Chris Cochrun 2022-06-30 11:25:17 -05:00
parent 06e78fce2b
commit 6ad3e2f63a
4 changed files with 16 additions and 13 deletions

7
scripts/volmute Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
awesome-client "naughty.destroy_all_notifications()"
pamixer -t
pw-play /nix/store/grc8na7vz23zlz0q9g76y6f66qrgr2cv-sound-theme-freedesktop-0.8/share/sounds/freedesktop/stereo/audio-volume-change.oga
volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume