mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 10:48:35 +02:00
widgets: new guybrush has its battery as BAT0
This commit is contained in:
parent
c65804df94
commit
c0e324ea73
1 changed files with 0 additions and 1 deletions
|
@ -94,7 +94,6 @@ cpuicon.image = image(beautiful.icons .. "/widgets/cpu.png")
|
|||
local batwidget = { widget = "" }
|
||||
if awful.util.table.hasitem({"guybrush", "zoro"}, config.hostname) then
|
||||
local bat = "BAT0"
|
||||
if config.hostname == "guybrush" then bat = "BAT1" end
|
||||
batwidget.widget = widget({ type = "textbox" })
|
||||
vicious.register(batwidget.widget, vicious.widgets.bat,
|
||||
function (widget, args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue