Major Update: created v5 (switching from x11 to wayland). Changed polybar to waybar in this commit.

This commit is contained in:
Keyitdev
2026-05-31 11:55:07 +02:00
parent b018c5edd3
commit 91723206b1
9 changed files with 689 additions and 695 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
mic=$(pactl get-source-mute @DEFAULT_SOURCE@ | awk '{print $2}')
if [ "$1" == "toggle" ]; then
pactl set-source-mute @DEFAULT_SOURCE@ toggle
fi
mic=$(pactl get-source-mute @DEFAULT_SOURCE@ | awk '{print $2}')
if [ "$mic" == "yes" ]; then
echo '{"text":"","class":"mic-muted"}'
else
echo '{"text":"","class":"mic-unmuted"}'
fi