Question: How to avoid killing an i3 scratchpad window

Answer It&rsquo;s kinda complicated. i3 exposes a scratchpad_state on every node, but it is not relevant for the node you initially check. The window node of the application you are targetting. Today we are scratching an itch. When I saw this question posted on Reddit I first thought: let&rsquo;s look at the data. My Workspace on Demand daemon has an IPC event debugger. So I fired it up and went…