Ignore desktop clients on taglist widget
Make the taglist widget skip unstickied and focused desktop clients for status update by: * Ignoring focused client if it is of desktop type * Returning a list of clients from tag.clients without clients of desktop type. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
cc0fc99a2c
commit
8fd3182869
|
@ -128,7 +128,7 @@ function label.all(t, args)
|
|||
bg_color = bg_focus
|
||||
fg_color = fg_focus
|
||||
end
|
||||
if sel then
|
||||
if sel and sel.type ~= "desktop" then
|
||||
if taglist_squares_sel then
|
||||
-- Check that the selected clients is tagged with 't'.
|
||||
local seltags = sel:tags()
|
||||
|
|
Loading…
Reference in New Issue