aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorDon Williams <Don.e.williams@gmail.com>2026-02-21 17:05:06 -0500
committerDon Williams <Don.e.williams@gmail.com>2026-02-21 17:05:06 -0500
commit023bc847111881bf19adcfbe92792d66f0cf7513 (patch)
tree1dbe3c29d3e2786708f9df1a18199e2b295cbba2 /config/hypr/scripts
parent888b3fad081d04d624547a09be52afe5d594c0dc (diff)
Added check for pactl in Toggle-Active-Window-Audio.sh
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/scripts/Toggle-Active-Window-Audio.sh
Diffstat (limited to 'config/hypr/scripts')
-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