mirror of
https://github.com/Fluffy-Bean/dots.git
synced 2025-06-05 09:53:11 +00:00
I hate this
This commit is contained in:
parent
a9846b4ecd
commit
8c7569868d
416 changed files with 1549 additions and 208 deletions
9
configs/qtile/scripts/toggle_mic
Executable file
9
configs/qtile/scripts/toggle_mic
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue