mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-16 05:04:21 +02:00
widget: don't display a separator when no tasklist is needed
This commit is contained in:
parent
0427cce9c8
commit
a9fda54455
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ for s = 1, screen.count() do
|
|||
on(2, fswidget), on(2, separator),
|
||||
on(1, memwidget), on(1, separator),
|
||||
on(1, cpuwidget), on(1, separator),
|
||||
tasklist[s], tasklist ~= "" and separator or "",
|
||||
tasklist[s], tasklist[s] ~= "" and separator or "",
|
||||
layout = awful.widget.layout.horizontal.rightleft }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue