taglist: Add [bg|fg]_empty
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
d4b12bb1b2
commit
9723f23f26
|
@ -34,6 +34,8 @@ function taglist.taglist_label(t, args)
|
||||||
local bg_urgent = args.bg_urgent or theme.taglist_bg_urgent or theme.bg_urgent
|
local bg_urgent = args.bg_urgent or theme.taglist_bg_urgent or theme.bg_urgent
|
||||||
local bg_occupied = args.bg_occupied or theme.taglist_bg_occupied
|
local bg_occupied = args.bg_occupied or theme.taglist_bg_occupied
|
||||||
local fg_occupied = args.fg_occupied or theme.taglist_fg_occupied
|
local fg_occupied = args.fg_occupied or theme.taglist_fg_occupied
|
||||||
|
local bg_empty = args.bg_empty or theme.taglist_bg_empty
|
||||||
|
local fg_empty = args.fg_empty or theme.taglist_fg_empty
|
||||||
local taglist_squares_sel = args.squares_sel or theme.taglist_squares_sel
|
local taglist_squares_sel = args.squares_sel or theme.taglist_squares_sel
|
||||||
local taglist_squares_unsel = args.squares_unsel or theme.taglist_squares_unsel
|
local taglist_squares_unsel = args.squares_unsel or theme.taglist_squares_unsel
|
||||||
local taglist_squares_sel_empty = args.squares_sel_empty or theme.taglist_squares_sel_empty
|
local taglist_squares_sel_empty = args.squares_sel_empty or theme.taglist_squares_sel_empty
|
||||||
|
@ -84,6 +86,8 @@ function taglist.taglist_label(t, args)
|
||||||
bg_image = taglist_squares_unsel_empty
|
bg_image = taglist_squares_unsel_empty
|
||||||
bg_resize = taglist_squares_resize == "true"
|
bg_resize = taglist_squares_resize == "true"
|
||||||
end
|
end
|
||||||
|
if bg_empty then bg_color = bg_empty end
|
||||||
|
if fg_empty then fg_color = fg_empty end
|
||||||
end
|
end
|
||||||
for k, c in pairs(cls) do
|
for k, c in pairs(cls) do
|
||||||
if c.urgent then
|
if c.urgent then
|
||||||
|
|
|
@ -25,7 +25,8 @@ theme.border_marked = "#91231c"
|
||||||
-- There are other variable sets
|
-- There are other variable sets
|
||||||
-- overriding the default one when
|
-- overriding the default one when
|
||||||
-- defined, the sets are:
|
-- defined, the sets are:
|
||||||
-- [taglist|tasklist]_[bg|fg]_[focus|urgent]
|
-- taglist_[bg|fg]_[focus|urgent|occupied|empty]
|
||||||
|
-- tasklist_[bg|fg]_[focus|urgent]
|
||||||
-- titlebar_[bg|fg]_[normal|focus]
|
-- titlebar_[bg|fg]_[normal|focus]
|
||||||
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
|
||||||
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
|
||||||
|
|
Loading…
Reference in New Issue