From 4b2e29a0e96a92f1fac7909281db6000571e5127 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 17 Dec 2023 22:56:45 +0900 Subject: [PATCH] updated pulseaudio waybar module --- config/hypr/scripts/Volume.sh | 4 ++-- config/waybar/modules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/hypr/scripts/Volume.sh b/config/hypr/scripts/Volume.sh index 1273a5d..d0eb0b6 100755 --- a/config/hypr/scripts/Volume.sh +++ b/config/hypr/scripts/Volume.sh @@ -29,9 +29,9 @@ get_icon() { # Notify notify_user() { if [[ "$(get_volume)" == "Muted" ]]; then - dunstify -h string:x-dunst-stack-tag:volume_notif -u low -i "$(get_icon)" "Volume : Muted" + dunstify -h string:x-dunst-stack-tag:volume_notif -u low -i "$(get_icon)" "Volume: Muted" else - dunstify -h int:value:"$(get_volume | sed 's/%//')" -h string:x-dunst-stack-tag:volume_notif -u low -i "$(get_icon)" "Volume : $(get_volume)" + dunstify -h int:value:"$(get_volume | sed 's/%//')" -h string:x-dunst-stack-tag:volume_notif -u low -i "$(get_icon)" "Volume: $(get_volume)" fi } diff --git a/config/waybar/modules b/config/waybar/modules index 1ff46ba..918865b 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -402,7 +402,7 @@ }, "pulseaudio": { - "format": "{icon}", + "format": "{icon} {volume}%", "format-bluetooth": "{icon} 󰂰 {volume}%", "format-muted": "󰖁", "format-icons": {