How to match all windows except current focused window?
There's a nice value "focused" by which to match all windows. Is it possible to match windows by "unfocused"? How to match all windows except the focused one?
There's a nice value "focused" by which to match all windows. Is it possible to match windows by "unfocused"? How to match all windows except the focused one?
I hoped there was a built-in way to do it in i3wm. In Openbox there is:
<action name="ForEach">
<focused>no</focused>
<then>
<action...
You can always write a script that parses the output of the shell command i3-msg -t get_tree
to extract IDs of all windows that match your criteria (whatever they are). Then you can use those identifiers to match the windows one by one.
Asked: 2015-10-03 03:07:25 +0000
Seen: 30 times
Last updated: Oct 03