dotfiles/scripts/volup

7 lines
246 B
Bash
Executable file

#!/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
volume=$(pulsemixer --get-volume | awk '{print $1}')
notify-send $volume