diff --git a/bin/drip.ogg b/bin/drip.ogg new file mode 100644 index 0000000..144d2b3 Binary files /dev/null and b/bin/drip.ogg differ diff --git a/bin/sway_volume b/bin/sway_volume index 6bd1b7f..3ef4acf 100755 --- a/bin/sway_volume +++ b/bin/sway_volume @@ -2,6 +2,7 @@ source $HOME/.config/sway/bin/sway_helpers SINK=$(pacmd list-sinks | grep "* index" | grep -oE '[0-9]*') APP="pavucontrol" +SOUND=$HOME/.config/sway/bin/drip.ogg ## helpers function _toggle() { @@ -22,12 +23,15 @@ fi case $1 in d*) pactl set-sink-volume $SINK -5% + paplay $SOUND ;; i*) pactl set-sink-volume $SINK +5% + paplay $SOUND ;; m*) pactl set-sink-mute $SINK toggle + paplay $SOUND ;; gui) _check_app $APP