sway_volume: replace sound
This commit is contained in:
parent
e29ef1da89
commit
46fd288cf7
3 changed files with 3 additions and 3 deletions
BIN
bin/audio-volume-change.oga
Normal file
BIN
bin/audio-volume-change.oga
Normal file
Binary file not shown.
BIN
bin/drip.ogg
BIN
bin/drip.ogg
Binary file not shown.
|
@ -3,6 +3,9 @@ source $HOME/.config/sway/bin/sway_helpers
|
||||||
SINK=$(pactl info | grep "Default Sink" | cut -d ' ' -f 3)
|
SINK=$(pactl info | grep "Default Sink" | cut -d ' ' -f 3)
|
||||||
ICON_PATH=$HOME/.local/share/icons/Tela-circle-dark/16/actions
|
ICON_PATH=$HOME/.local/share/icons/Tela-circle-dark/16/actions
|
||||||
NOTIFY_APP="dunstify -a volume -h string:x-dunst-stack-tag:volume"
|
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'
|
# echo -e '\u25cf'
|
||||||
VOL1="●"
|
VOL1="●"
|
||||||
# echo -e '\u25cc'
|
# echo -e '\u25cc'
|
||||||
|
@ -49,9 +52,6 @@ function notify() {
|
||||||
$NOTIFY_APP -i $ICON "$TITLE" "$(getProgressString 10 "$VOL1" "$VOL2" $VOLUME)"
|
$NOTIFY_APP -i $ICON "$TITLE" "$(getProgressString 10 "$VOL1" "$VOL2" $VOLUME)"
|
||||||
}
|
}
|
||||||
|
|
||||||
APP="pavucontrol"
|
|
||||||
SOUND=$HOME/.config/sway/bin/drip.ogg
|
|
||||||
|
|
||||||
## helpers
|
## helpers
|
||||||
function _toggle() {
|
function _toggle() {
|
||||||
a=$1
|
a=$1
|
||||||
|
|
Loading…
Reference in a new issue