This commit is contained in:
2026-02-20 01:01:27 +01:00
parent 3e7d82524f
commit d0d1327e9f
17 changed files with 671 additions and 0 deletions

9
scripts/check-if-muted.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
MUTED=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -iq muted; echo $?)
if [[ $MUTED -eq 0 ]]; then
notify-send "Audio muted" -a 'wp-vol' -t 1000
else
notify-send "Audio unmuted" -a 'wp-vol' -t 1000
fi