From 78de4620177cbc0ce6c9873ddba24dd9f2eb4c49 Mon Sep 17 00:00:00 2001 From: stitchy Date: Wed, 27 Nov 2024 10:47:32 +0000 Subject: [PATCH] Fix: More Whitespace --- config/dunst/scripts/volumeNotify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dunst/scripts/volumeNotify.sh b/config/dunst/scripts/volumeNotify.sh index 5145125..6cc9b0d 100755 --- a/config/dunst/scripts/volumeNotify.sh +++ b/config/dunst/scripts/volumeNotify.sh @@ -11,10 +11,10 @@ if [[ "$mute" == "" ]]; then # Change the volume $(wpctl set-volume @DEFAULT_AUDIO_SINK@ $@) - # Query Pipewire and Parse Volume as an Int + # Query Pipewire and Parse Volume as an Int volume="$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}')" vol=${volume//.} - + # Send the notification $(dunstify -h int:value:"$vol" Volume: $vol -h string:x-dunst-stack-tag:volume) $(echo $vol > ${XDG_CACHE_HOME:-~/.cache}/eww/vol)