Skip to content

new windows will automatically split window base on it's size

Notifications You must be signed in to change notification settings

dalmamad/i3-auto-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i3 Auto Layout

auto-layout off auto-layout on
auto-layout off auto-layout on

Why

there are some other auto layout for i3. but some of them loose functionality when you move a window. this one will split window base on window size. if widnow is wide it will split vartically otherwise split horizontally.

Usage

  1. clone the repository
git clone https://github.com/dalmamad/i3-auto-layout.git
  1. run auto-layout file (you can remove main.c)
./path-to-auto-layout/auto-layout

NOTE:script file and auto-layout must be in a same directory

you can also exec it in i3 config:

exec --no-startup-id ./path-to-auto-layout/auto-layout

Code Explain

it's dead simple. before creating a new window in X11, auto-layout runs script file. you can also change it on your desire.

About

new windows will automatically split window base on it's size

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published