Fixed long window title issue on topbar

This commit is contained in:
Candifloss 2024-12-13 23:49:30 +05:30
parent 3f63abe05d
commit 933b3a604a

View File

@ -4,10 +4,9 @@
:halign "start" :halign "start"
:height 28 :height 28
;:width 300 ;:width 300
:active true ;:active true
:hexpand false :tooltip "${leftwm_state.window_title}"
:vexpand false
"${leftwm_state.window_title}" "${substring(leftwm_state.window_title, 0, 32)}${strlength(leftwm_state.window_title) > 32 ? '..' : ''}"
) )
) )