mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 11:44:21 +02:00
widgets: fix battery widget (remove extra label)
This commit is contained in:
parent
f7d2280d22
commit
bb6ad3907e
1 changed files with 2 additions and 5 deletions
|
@ -53,11 +53,8 @@ if config.hostname == "guybrush" then
|
||||||
batwidget.lastwarn = current
|
batwidget.lastwarn = current
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return string.format(
|
return string.format('<span color="' .. color ..
|
||||||
'<span color="' .. beautiful.fg_widget_label ..
|
'">%s%d%%</span>', args[1], current)
|
||||||
'">Bat: </span>' ..
|
|
||||||
'<span color="' .. color ..
|
|
||||||
'">%s %d%%</span>', args[1], current)
|
|
||||||
end,
|
end,
|
||||||
61, "BAT1")
|
61, "BAT1")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue