diff --git a/src/hyprland.nim b/src/hyprland.nim index 3d6411a..ab7fa88 100644 --- a/src/hyprland.nim +++ b/src/hyprland.nim @@ -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: