The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Match window which has no title

asked 2013-04-28 14:45:03 +0000

tab3 gravatar image

updated 2013-04-28 14:45:56 +0000

I'm having trouble matching a window without title:

% xprop| grep NAME

In both assign and for_window:

  • title="" gives an error
  • "^$" don't match
edit retag flag offensive close merge delete



Have you tried [class="..."] in the assign? Maybe your window has a WM_CLASS property that you can use?

mschaefer gravatar imagemschaefer ( 2013-04-29 07:35:50 +0000 )edit

mschaefer, yep, I'm aware of `class`. I have few windows with the same class and instance, but one of which has no title. (Eclipse)

tab3 gravatar imagetab3 ( 2013-04-29 13:13:26 +0000 )edit

1 answer

Sort by » oldest newest most voted

answered 2013-04-29 17:29:50 +0000

Michael gravatar image

Please fix this upstream, i.e. in the application itself. This is trivial if you have written it, and just a bug report in the right place if you didn’t.

Plus, fixing this upstream will benefit all users of all window managers who ever want to match such a window.

edit flag offensive delete link more


iirc `class=".*"` wouln't match windows having no class. is this a expected behaviour?

dosimple gravatar imagedosimple ( 2013-05-12 22:35:38 +0000 )edit

Question Tools


Asked: 2013-04-28 14:45:03 +0000

Seen: 231 times

Last updated: Apr 29 '13