aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Toggle-Active-Window-Audio.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/Toggle-Active-Window-Audio.sh')
-rwxr-xr-xconfig/hypr/scripts/Toggle-Active-Window-Audio.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/hypr/scripts/Toggle-Active-Window-Audio.sh b/config/hypr/scripts/Toggle-Active-Window-Audio.sh
index 6d434c13..4d9bcd33 100755
--- a/config/hypr/scripts/Toggle-Active-Window-Audio.sh
+++ b/config/hypr/scripts/Toggle-Active-Window-Audio.sh
@@ -13,6 +13,9 @@ for ctl in "${ctlcheck[@]}"; do
done
if (( ${#missing[@]} )) 2>/dev/null; then
+ if printf '%s\n' "${missing[@]}" | grep -qx "pactl"; then
+ notify-send -a "t1" -r 91190 -t 2000 -i "${swayIconDir}/volume-low.png" "ERROR: pactl not installed" "Install 'pactl' (pulseaudio-utils or pipewire-pulse)."
+ fi
echo "Missing required dependencies: \"${missing[*]}\""
exit 1
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage