From 933b3a604a091e2d33f36bc9113edbfab58ee408 Mon Sep 17 00:00:00 2001 From: candifloss Date: Fri, 13 Dec 2024 23:49:30 +0530 Subject: [PATCH] Fixed long window title issue on topbar --- yuck/panel/panel_sections/panel_widg_left.yuck | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/yuck/panel/panel_sections/panel_widg_left.yuck b/yuck/panel/panel_sections/panel_widg_left.yuck index c62fb13..9f3a69a 100644 --- a/yuck/panel/panel_sections/panel_widg_left.yuck +++ b/yuck/panel/panel_sections/panel_widg_left.yuck @@ -4,10 +4,9 @@ :halign "start" :height 28 ;:width 300 - :active true - :hexpand false - :vexpand false + ;:active true + :tooltip "${leftwm_state.window_title}" - "${leftwm_state.window_title}" + "${substring(leftwm_state.window_title, 0, 32)}${strlength(leftwm_state.window_title) > 32 ? '..' : ''}" ) ) \ No newline at end of file