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:
co-authored by
WojciechSulocki-Gif
parent
e7bf19364c
commit
a4664d0291
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user