Open cbr9 opened 1 year ago
Something like if client.focus == myscratchpadobj.client then myscratchpadobj:turn_off() end
maybe? But you would have to do that with every scratchpad instance you got
Is there any way to set a custom property to all scratchpads, so I can use that in the if condition?
You can add abitrary properties to scratchpad objects as they are just basic lua tables. Did the previous answer work for you for one scratchpad?
I'd like to override my global super+q (kill) binding, so that on scratchpads it simply turns it off, but I'm an unable to do it.
Any idea?