From 87cede648ab511f77a3dbfdad337fbaf240d0523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Sat, 13 Oct 2018 14:11:36 +0200 Subject: [PATCH] Show battery percentage even when on sector Easier to check the percentage of the load of the battery when charging it --- themes/powerarrow-dark/theme.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/themes/powerarrow-dark/theme.lua b/themes/powerarrow-dark/theme.lua index c6b41e5..41a100f 100644 --- a/themes/powerarrow-dark/theme.lua +++ b/themes/powerarrow-dark/theme.lua @@ -207,9 +207,7 @@ local bat = lain.widget.bat({ settings = function() if bat_now.status and bat_now.status ~= "N/A" then if bat_now.ac_status == 1 then - widget:set_markup(markup.font(theme.font, " AC ")) baticon:set_image(theme.widget_ac) - return elseif not bat_now.perc and tonumber(bat_now.perc) <= 5 then baticon:set_image(theme.widget_battery_empty) elseif not bat_now.perc and tonumber(bat_now.perc) <= 15 then