mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
tags: when only one screen, don't display tag names
With the addition of icons, tag list became a bit long. If we have only one screen, don't display names.
This commit is contained in:
parent
1c96367c6a
commit
73b86a65a5
1 changed files with 5 additions and 1 deletions
|
@ -30,7 +30,11 @@ for i = 1, #tags do
|
|||
-- Name
|
||||
config.tags[tags[i].name] = tags[i]
|
||||
if tags[i].name ~= tostring(i) then
|
||||
tags[i].name = tostring(i) .. "↭" .. tags[i].name
|
||||
if screen.count() > 1 then
|
||||
tags[i].name = tostring(i) .. "↭" .. tags[i].name
|
||||
else
|
||||
tags[i].name = tostring(i)
|
||||
end
|
||||
end
|
||||
|
||||
-- Properties
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue