From 816475928f186a6ff4486a3d1138a78ffcffd898 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 Nov 2023 13:02:18 +0900 Subject: refer to my previous commit message --- config/hypr/scripts/Volume.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'config/hypr/scripts/Volume.sh') diff --git a/config/hypr/scripts/Volume.sh b/config/hypr/scripts/Volume.sh index c5eab801..a51999df 100755 --- a/config/hypr/scripts/Volume.sh +++ b/config/hypr/scripts/Volume.sh @@ -24,8 +24,7 @@ get_icon() { # Notify notify_user() { -# notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal -i "$(get_icon)" "Volume : $(get_volume) %" - notify-send -h int:value:$(get_volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_icon)" "Volume : $(get_volume) %" + dunstify -h int:value:$(get_volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_icon)" "Volume : $(get_volume) %" } @@ -71,8 +70,7 @@ get_mic_icon() { } # Notify notify_mic_user() { -# notify-send -h string:x-canonical-private-synchronous:sys-notify -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" - notify-send -h int:value:$(pamixer --default-source --get-volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" + dunstify -h int:value:$(pamixer --default-source --get-volume) -h "string:x-dunst-stack-tag:volume_notif" -u low -i "$(get_mic_icon)" "Mic-Level : $(pamixer --default-source --get-volume) %" } # Increase MIC Volume -- cgit v1.2.3