From 65d05114085ccd6717c8c4805da85a5e2d80ecf3 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 2 Apr 2025 23:38:04 +1100 Subject: bar: fix workspaces visual glitch Also use gtk truncate for active window and media playing For some reason, odd numbers of workspaces need the adjustment, but even don't --- src/utils/strings.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/strings.ts b/src/utils/strings.ts index 4aaa916..4786c6b 100644 --- a/src/utils/strings.ts +++ b/src/utils/strings.ts @@ -1,5 +1,3 @@ -export const ellipsize = (str: string, len: number) => (str.length > len ? `${str.slice(0, len - 1)}…` : str); - export const basename = (path: string, stripExt = true) => { const lastSlash = path.lastIndexOf("/"); const lastDot = path.lastIndexOf("."); -- cgit v1.2.3-freya