make sure we are using where the sound is actually found

This commit is contained in:
Chris Cochrun 2024-02-28 10:45:20 -06:00
parent fe348d6fe6
commit cff1e8c05b
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
# killall voldown
dunstctl close
pamixer --allow-boost -d 5
pw-play ~/.guix-home/profile/share/sounds/freedesktop/stereo/audio-volume-change.oga &
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga &
volume=$(pulsemixer --get-volume | awk '{print $1}')
echo $volume > /tmp/vol
notify-send $volume

View file

@ -4,7 +4,7 @@
# killall voldown
dunstctl close
pamixer --allow-boost -i 5
pw-play ~/.guix-home/profile/share/sounds/freedesktop/stereo/audio-volume-change.oga &
pw-play /run/current-system/sw/share/sounds/freedesktop/stereo/audio-volume-change.oga &
volume=$(pulsemixer --get-volume | awk '{print $1}')
echo $volume > /tmp/vol
notify-send $volume