diff options
| author | JaKooLit <jimmielovejay.com> | 2023-12-17 22:56:45 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2023-12-17 22:56:45 +0900 |
| commit | 4b2e29a0e96a92f1fac7909281db6000571e5127 (patch) | |
| tree | 9b52d33e7f8c099f2776878fb87099d966efa70f /config | |
| parent | 70d3ed24206ba3445a73b75328f7688c6f78e894 (diff) | |
updated pulseaudio waybar module
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/scripts/Volume.sh | 4 | ||||
| -rw-r--r-- | 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 1273a5d4..d0eb0b68 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 1ff46ba5..918865b3 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": { |
