Skip to content

Automatic, optimal tiling for i3wm/sway

License

pando85/i3-auto-layout

 
 

Repository files navigation

i3-auto-layout

Automatic, optimal tiling for i3wm inspired by the deprecated i3-alternating-layouts and bspwm. An appropriate split is set for each window based on its geometry.

Improvements over i3-alternating-layouts:

  • single compiled binary with no dependencies (except i3 of course)
  • written in Rust for maximum performance and low resource usage (~0% CPU, ~0% MEM)
  • works asynchronously over IPC
  • Sway compatibility. Same binary works for both i3 and Sway.

Before

image

After

image

Installation

Arch Linux

yay -S i3-auto-layout

or the binary from the AUR:

yay -S i3-auto-layout-bin

Binaries

Binaries are made available each release.

You can download a prebuilt binary from our Releases.

curl -s https://api.github.com/repos/pando85/i3-auto-layout/releases/latest \
  | grep browser_download_url \
  | grep -v sha256 \
  | grep $(uname -m) \
  | grep linux \
  | cut -d '"' -f 4 \
  | xargs curl -L \
  | tar xvz
sudo mv i3-auto-layout /usr/local/bin

Configuration

In your i3 config:

exec_always -no-startup-id i3-auto-layout

Debug

RUST_LOG=debug i3-auto-layout

About

Automatic, optimal tiling for i3wm/sway

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 80.4%
  • Makefile 10.3%
  • Jinja 7.1%
  • Shell 2.2%