mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-10 03:02:38 +08:00
applied #19 fixes on text_taglist.lua
This commit is contained in:
parent
66e0f0a309
commit
3111f58d00
1 changed files with 2 additions and 2 deletions
|
|
@ -80,9 +80,9 @@ local function update_widget()
|
|||
if s.tags[i] then
|
||||
tag_clients = s.tags[i]:clients()
|
||||
end
|
||||
if s.tags[i] == s.selected_tag then
|
||||
if s.tags[i] and s.tags[i].selected then
|
||||
tag_text[i].markup = helpers.colorize_text(beautiful.taglist_text_focused[i], beautiful.taglist_text_color_focused[i])
|
||||
elseif awful.tag.getproperty(s.tags[i], "urgent") then
|
||||
elseif s.tags[i] and s.tags[i].urgent then
|
||||
tag_text[i].markup = helpers.colorize_text(beautiful.taglist_text_urgent[i], beautiful.taglist_text_color_urgent[i])
|
||||
elseif tag_clients and #tag_clients > 0 then
|
||||
tag_text[i].markup = helpers.colorize_text(beautiful.taglist_text_occupied[i], beautiful.taglist_text_color_occupied[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue