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):
|
for id in openWorkspaces(monitors):
|
||||||
workspaces[id - 1].class.add " ws-button-open"
|
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 =
|
var ewwClasses =
|
||||||
collect:
|
collect:
|
||||||
for m in monitors:
|
for m in monitors:
|
||||||
|
|
Loading…
Reference in a new issue