mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Adding ldoc readonly tag text in the extra_summary list
This commit is contained in:
parent
899f9c8879
commit
486fd3744f
1 changed files with 3 additions and 0 deletions
|
@ -643,6 +643,9 @@ local function generate_summary(item)
|
||||||
has_show_more = v.showcount or has_show_more
|
has_show_more = v.showcount or has_show_more
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if item.tags.readonly then
|
||||||
|
ret[#ret+1] = {title = "read only"}
|
||||||
|
end
|
||||||
|
|
||||||
item.extra_summary = #ret > 0 and ret or nil
|
item.extra_summary = #ret > 0 and ret or nil
|
||||||
item.has_show_more = has_show_more
|
item.has_show_more = has_show_more
|
||||||
|
|
Loading…
Reference in a new issue