mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-05 16:07:42 +08:00
applied #19 fixes on text_taglist.lua
Former-commit-id: 3111f58d00
Former-commit-id: aeb121bfe47a4a681d83c44c43771fb89a10c285
Former-commit-id: 251af3012f942a34ec9639bd9f62054136276790
Former-commit-id: c5ba0a547be21f40a165cf74bdd5f56809d13e41
This commit is contained in:
parent
ecb1f86f32
commit
5f2ff25311
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