aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay.com>2023-12-17 22:56:45 +0900
committerJaKooLit <jimmielovejay.com>2023-12-17 22:56:45 +0900
commit4b2e29a0e96a92f1fac7909281db6000571e5127 (patch)
tree9b52d33e7f8c099f2776878fb87099d966efa70f
parent70d3ed24206ba3445a73b75328f7688c6f78e894 (diff)
updated pulseaudio waybar module
-rwxr-xr-xconfig/hypr/scripts/Volume.sh4
-rw-r--r--config/waybar/modules2
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": {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage