Add scripts

This commit is contained in:
Thraix
2026-07-15 17:24:10 +02:00
parent 8e28f60c91
commit b6e779c324
9 changed files with 245 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
if wpctl get-volume @DEFAULT_AUDIO_SOURCE@ | grep "1.00" >> /dev/null; then
wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 0
paplay ~/Music/mute.wav
else
wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 1
paplay ~/Music/unmute.wav
fi