Open window as a scratchpad
Hi,
I'm trying to create a web app to handle my i3 configurations to autostart all the windows i need in the workspace I want. This app let me create several configs (home, work) in which i put all my workspaces (from my i3/config file, there will be a feature to autoread it) and then i set all the clients per workspace. I'm at the very early stage of this app, the code is dirty but it kinda works.
I did the web app (configs are save in a yaml file), and i did a cli php app (sorry, I'm a php dev ^^) to load the wanted configuration and launch your app in the right workspace. This works for now, so i just need to run a script and all my clients open where they belongs.
I now that i can do some similar stuff with the i3/config file but i didn't manage to do what i wanted. Plus i want to be able to manage several configs and manage splits and layout to really be able to run a script at startup and be ready to work.
At this point, the feature I'd like to add is the ability to open client as a scratchpad. Unfortunatly, I didn't find a way to open a client and setting it as a scratchpad with i3-msg.
Is there any way to do something like that with i3-msg (or smth else but not the config file) ?
Thanks for your help