X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/04a974edf28b4a61889ef44791d9d425f268e27d..2a99a49807e31867e3b80d05510bc51fb0c7cee1:/.config/awesome/rc.lua diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 478f3f7..57e70c7 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -128,7 +128,8 @@ local lain_bat = lain.widgets.bat({ batteries = {"BAT0", "BAT1"}, settings = function() local delim = "↓" - if bat_now.status == "Charging" then delim = "↑" end + if bat_now.status == "Charging" then delim = "↑" + elseif bat_now.status == "Unknown" then delim = "٭" end widget:set_text(bat_now.perc .. "% " .. delim .. " " .. bat_now.time) end, })