mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 03:34:22 +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,10 +53,7 @@ if config.hostname == "guybrush" then
|
|||
batwidget.lastwarn = current
|
||||
end
|
||||
end
|
||||
return string.format(
|
||||
'<span color="' .. beautiful.fg_widget_label ..
|
||||
'">Bat: </span>' ..
|
||||
'<span color="' .. color ..
|
||||
return string.format('<span color="' .. color ..
|
||||
'">%s%d%%</span>', args[1], current)
|
||||
end,
|
||||
61, "BAT1")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue