i3-layout-manager
i3-layout-manager copied to clipboard
Is there a way to load a layout to specified workspace?
So, basically I'd like to load layouts to specific workspaces after i3 startup.
I tried getting this to work with the snippets from here, but to no avail.
So, yeah I hacked it together. I'm up for more elegant solutions though.
#!/bin/bash
CURRENT=$1 # i3 workspace to apply layout to
LAYOUT=$2 # layout-to-load
i3-msg "workspace $CURRENT; exec layout-manager $LAYOUT"
sleep 0.66;
i3-msg "workspace back_and_forth"
Hey, ye I would do the same. Would you care about a feature where the save layout will be tied to a specific workspace? I could integrate it.