pkieltyka / i3-powertools

i3 UX enhancements using Go-based i3 IPC
3 stars 0 forks source link

Scratch pad setups #2

Open pkieltyka opened 5 years ago

pkieltyka commented 5 years ago

Make it easy to setup scratch pads for different kind of apps on a hotkey.

ie.

shazow commented 5 years ago

This is my current strategy for this, but I'm not 100% happy with it:

https://github.com/shazow/nixfiles/blob/cbfb3ae292388dfdb676a8d456e48db50e98cd28/nixpkgs/config/i3/config#L67-L71

The main thing I want is I'd rather it didn't necessarily open the app on-start, but rather I want it to open it iff it's not already open. That is, if I close my tmux session at some point, I want it to automatically reopen next time I open that scratchpad.