You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add support for displaying the window class instead of the title, exactly what xwinfo -c does? Sometimes the titles becomes too long, and truncating them does not help much. A common example is Firefox, where title refers to page title, but class refers to just Firefox.
Right now, it can be done using xprop and xwinfo, but it would be nice to have this in xtitle (or a spy mode for xwinfo).
Thanks.
The text was updated successfully, but these errors were encountered:
Hello, @easysid
With xtitle built from latest sources you can do it like this: unbuffer xtitle -sf "%u\n" | xargs -l1 xprop -id | grep 'WM_CLASS(STRING) = ' --line-buffered | cut -d\" -f4
Would it be possible to add support for displaying the window class instead of the title, exactly what xwinfo -c does? Sometimes the titles becomes too long, and truncating them does not help much. A common example is Firefox, where title refers to page title, but class refers to just Firefox.
Right now, it can be done using xprop and xwinfo, but it would be nice to have this in xtitle (or a spy mode for xwinfo).
Thanks.
The text was updated successfully, but these errors were encountered: