awful: also display selected tags in widget.taglist.label.noempty
This commit is contained in:
parent
07b82b1825
commit
469a44f0db
|
@ -1188,7 +1188,7 @@ end
|
||||||
-- fg_urgent The foreground color for urgent tags.
|
-- fg_urgent The foreground color for urgent tags.
|
||||||
-- @return A string to print.
|
-- @return A string to print.
|
||||||
function widget.taglist.label.noempty(t, args)
|
function widget.taglist.label.noempty(t, args)
|
||||||
if #t:clients() > 0 then
|
if #t:clients() > 0 or t.selected then
|
||||||
if not args then args = {} end
|
if not args then args = {} end
|
||||||
local fg_focus = args.fg_focus or theme.fg_focus
|
local fg_focus = args.fg_focus or theme.fg_focus
|
||||||
local bg_focus = args.bg_focus or theme.bg_focus
|
local bg_focus = args.bg_focus or theme.bg_focus
|
||||||
|
|
Loading…
Reference in New Issue