Coder Social home page Coder Social logo

snowballthelev / i3-alternating-layout Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olemartinorg/i3-alternating-layout

0.0 0.0 0.0 601 KB

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

License: MIT License

Python 100.00%

i3-alternating-layout's Introduction

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

i3-alternating-layout's People

Contributors

olemartinorg avatar kmarius avatar flancian avatar gangelop avatar ralino avatar ifreilicht avatar jakob1379 avatar mlmatlock avatar susensio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.