I3 Alternating Layout Save

Scripts to open new windows in i3wm using alternating layouts (splith/splitv) for each new window

Project README

i3-alternating-layout

Scripts to open new windows in i3wm/Sway using alternating layouts (splith/splitv) for each new window. These scripts were made for /u/ke7ofi after they asked a question on how to do this you can read the question here.

Installation

Ubuntu

sudo apt-get install python3-pip git
pip3 install i3ipc
git clone https://github.com/olemartinorg/i3-alternating-layout

And add alternating_layouts.py to your ~/.i3/config autostart:

exec --no-startup-id /path/to/alternating_layouts.py

Arch Linux

Install python-i3ipc, then either:

Clone this repository or install from the AUR.

Then, for i3 add:

exec --no-startup-id /path/to/alternating_layouts.py

to your ~/.i3/config.

Or, for Sway add:

exec /path/to/alternating_layouts.py

to your ~/.config/sway/config.

Screenshot

Using regular i3/Sway, creating a window layout like this would involve a lot of $mod+Return, $mod+h and $mod+v. Using this script, you only need to open a bunch of new windows!

Screenshot

Open Source Agenda is not affiliated with "I3 Alternating Layout" Project. README Source: olemartinorg/i3-alternating-layout
Stars
327
Open Issues
5
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating