I hate this

This commit is contained in:
Michał Gdula 2023-04-19 11:04:08 +01:00
parent a9846b4ecd
commit 8c7569868d
416 changed files with 1549 additions and 208 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Toggle mic mute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
if (pactl list sources | grep -m 2 Mute | tail -n 1 | awk '{print $2}' | grep -q yes) then
notify-send "Microphone" "Muted" -u critical
else
notify-send "Microphone" "Unmuted" -u low
fi