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

View file

@ -1,7 +1,7 @@
#!/bin/sh
awesome-client "naughty.destroy_all_notifications()"
pactl set-sink-volume @DEFAULT_SINK@ +5%
paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
pamixer -i 5
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