awful.widget.tasklist: added posibility to show c.name when iconified instead of <untitled>

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Aleksei Gusev 2009-03-24 14:09:43 +01:00 committed by Julien Danjou
parent 2689852e45
commit ac6ded12a8
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ local function widget_tasklist_label_common(c, args)
status_image = capi.image(floating_icon) status_image = capi.image(floating_icon)
end end
if c.minimized then if c.minimized then
name = util.escape(c.icon_name) or util.escape("<untitled>") name = util.escape(c.icon_name) or util.escape(c.name) or util.escape("<untitled>")
else else
name = util.escape(c.name) or util.escape("<untitled>") name = util.escape(c.name) or util.escape("<untitled>")
end end