truncate icons
This commit is contained in:
parent
888c8e4c93
commit
509aec191a
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ proc writeEwwClasses*() =
|
|||
for id in openWorkspaces(monitors):
|
||||
workspaces[id - 1].class.add " ws-button-open"
|
||||
|
||||
for ws in workspaces.mitems:
|
||||
if ws.icon.len > 10:
|
||||
ws.icon = ws.icon[0..7] & "..."
|
||||
|
||||
var ewwClasses =
|
||||
collect:
|
||||
for m in monitors:
|
||||
|
|
Loading…
Reference in a new issue