Skip to content

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

License

Notifications You must be signed in to change notification settings

gary02/i3-alternating-layout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%