Add scripts

This commit is contained in:
Thraix committed 2026-07-15 17:24:10 +02:00
1 parent 8e28f60c91
commit b6e779c324
9 files changed
+245

No files matched your search

+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