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"
: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 ? '..' : ''}"
)
)