sway_volume: replace sound

This commit is contained in:
Konstantin Koslowski 2021-03-16 12:50:55 +01:00
parent e29ef1da89
commit 46fd288cf7
3 changed files with 3 additions and 3 deletions

BIN
bin/audio-volume-change.oga Normal file

Binary file not shown.

Binary file not shown.

View file

@ -3,6 +3,9 @@ source $HOME/.config/sway/bin/sway_helpers
SINK=$(pactl info | grep "Default Sink" | cut -d ' ' -f 3)
ICON_PATH=$HOME/.local/share/icons/Tela-circle-dark/16/actions
NOTIFY_APP="dunstify -a volume -h string:x-dunst-stack-tag:volume"
APP="pavucontrol"
SOUND=$HOME/.config/sway/bin/audio-volume-change.oga
# echo -e '\u25cf'
VOL1="●"
# echo -e '\u25cc'
@ -49,9 +52,6 @@ function notify() {
$NOTIFY_APP -i $ICON "$TITLE" "$(getProgressString 10 "$VOL1" "$VOL2" $VOLUME)"
}
APP="pavucontrol"
SOUND=$HOME/.config/sway/bin/drip.ogg
## helpers
function _toggle() {
a=$1