dotfiles/scripts/volup

9 lines
257 B
Bash
Executable file

#!/bin/sh
dunstctl close
pamixer --allow-boost -i 5
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
dunstify -i audio-volume-high $volume