<div dir="ltr">Hi,<div><br></div><div>I hope that this is the right place to ask. If not, please let me know.</div><div><br></div><div>I use xmonad with xmobar and trayer. Trayer is set in the upper right corner, and xmobar fills the remainder of the top of the screen. I have several right-aligned widgets, including date/time, CPU, memory, network, etc., and two left-aligned widgets, which are the active workspace name and the name of the active window. Currently, I set the name of the active window to "shorten 200" in my xmonad.hs file. However, I use several monitors with varying screen sizes, so it is challenging to set an absolute value. When the screen is narrow, and the window title is long, it pushes some widgets out of the right side of xmobar. I would like the window title to take up as much space as possible but leave the other right-aligned widgets where they are. Is there any way to do that?<br clear="all"><div><br></div><div>Short window title</div><div><img src="cid:ii_lf740fnq1" alt="image.png" width="557" height="5"><br></div><div><br></div><div>Long window title</div><div><img src="cid:ii_lf73zezq0" alt="image.png" width="557" height="5"><br></div><div><br></div><span>-- </span><br><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font face="'courier new', monospace">There are 10 types of people, those who know binary and those who don't.</font></div></div><div><font face="'courier new', monospace"><br></font></div></div></div></div></div>