fix(waybar): mic icon centering and change to event-driven updating

This commit is contained in:
2026-02-09 14:18:04 +00:00
parent 2fce7ad031
commit 5cfcb8a394
3 changed files with 26 additions and 12 deletions

View File

@@ -82,9 +82,10 @@
},
"custom/micmute": {
"exec": "bash -c 'wpctl get-volume @DEFAULT_AUDIO_SOURCE@ | grep -q MUTED && echo \"\" || echo \"\"'",
"interval": 1,
"exec": "~/.config/waybar/scripts/micmute.sh",
"interval": 0,
"tooltip": true,
"min-length": 2,
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
}
}