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

This commit is contained in:
Keyitdev committed 2026-05-31 11:55:07 +02:00
1 parent b018c5edd3
commit 91723206b1
9 files changed
+689 -695

No files matched your search

+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