fix(audio-switcher): fix an error printed to logs and change widget color to default (#149)

* fix(audio-switcher): remove json decode which parsed a table

* fix(audio-switcher): use default widget coloring

* chore(audio-switcher): bump version to 0.2.1

* fix(audio-switcher): parse pactl volume output safely

---------

Co-authored-by: WojciechSulocki-Gif <wojciechsulocki@gmail.com>
This commit is contained in:
HiImKobeAnd
2026-07-29 15:48:20 -04:00
committed by GitHub
co-authored by WojciechSulocki-Gif
parent e7bf19364c
commit a4664d0291
3 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ local function render()
if snapshot.busy == true then
barWidget.setGlyphColor("secondary")
elseif snapshot.available == true then
barWidget.setGlyphColor("primary")
barWidget.setGlyphColor("default")
else
barWidget.setGlyphColor("error")
end