mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-07 00:57:28 +08:00
Merge pull request #19 from TheRealFenrir/patch-1
Update icon_taglist.lua
Former-commit-id: 89a6a3fe79
Former-commit-id: 7f972187b2caf8ed1b1062cea81097144be2ceac
Former-commit-id: 92f22bd615cf90e27aac91a31e8abe40a78002b2
Former-commit-id: a4abb0067b9c6207c80cd73e84d005e3c4a01dca
This commit is contained in:
commit
92007b2376
1 changed files with 2 additions and 2 deletions
|
|
@ -65,9 +65,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_icons[i].image = beautiful.taglist_icons_focused[i]
|
||||
elseif awful.tag.getproperty(s.tags[i], "urgent") then
|
||||
elseif s.tags[i] and s.tags[i].urgent then
|
||||
tag_icons[i].image = beautiful.taglist_icons_urgent[i]
|
||||
elseif tag_clients and #tag_clients > 0 then
|
||||
tag_icons[i].image = beautiful.taglist_icons_occupied[i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue