diff options
| author | Don Williams <Don.e.williams@gmail.com> | 2026-02-21 17:05:06 -0500 |
|---|---|---|
| committer | Don Williams <Don.e.williams@gmail.com> | 2026-02-21 17:05:06 -0500 |
| commit | 023bc847111881bf19adcfbe92792d66f0cf7513 (patch) | |
| tree | 1dbe3c29d3e2786708f9df1a18199e2b295cbba2 | |
| parent | 888b3fad081d04d624547a09be52afe5d594c0dc (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
| -rwxr-xr-x | config/hypr/scripts/Toggle-Active-Window-Audio.sh | 3 |
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 |
