Skip to content

olemartinorg/i3-alternating-layout

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 16, 2013 09:15
May 25, 2021 19:00

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages