gary02 / i3-alternating-layout

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i3-alternating-layout

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

Installation

Ubuntu

sudo apt-get install x11-utils python-pip git
sudo pip install i3-py
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-i3-py and xorg-util-macros, then add

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

to your ~/.i3/config.

Screenshot

Using regular i3, 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

License:MIT License


Languages

Language:Python 100.0%