Code Monkey home page Code Monkey logo

snaptile's Introduction

Snaptile

Versatile, mouse-free window tiling for X11.

lol

Grid System

The grid system divides your screen into 12 sections

ctl + alt +

Q W E R
A S D F
Z X C V

You can snap your window to any rectangle, of any arbitrary size, on this grid by specifying 2 corners. For example:

ctl + alt + E + D

x x E x
x x D x
x x x x

Which looks like

screenshot from 2017-06-07 18-50-28

The two keys only needs to "span" a rectangle. For example:

ctl + alt + X + D

x x x x
x + D x
x X + x

which looks like

screenshot from 2017-06-07 22-55-56

Requirements

  • Python3
  • X11-based desktop
  • python3-gi
  • python3-xlib

Installation on Ubuntu

Go to a directory you want to store snaptile:

cd <place-you-want-to-store-snaptile>

Install and run:

sudo apt-get install git python3-gi python3-xlib
git clone https://github.com/jakebian/snaptile.git
cd snaptile && ./snaptile.py

Instalation on Arch / Manjaro

Go to a directory you want to store snaptile:

cd <place-you-want-to-store-snaptile>

Install and run:

sudo pacman -S git python-gobject python-xlib
git clone https://github.com/jakebian/snaptile.git
cd snaptile && ./snaptile.py

Start at boot

To start at boot, just add a script to Startup Applications invoking the python script

/usr/bin/python3 <full-path>/snaptile/snaptile.py

Credits

Snaptile is a rewrite of PyGrid, supporting the more powerful shortcuts system.

snaptile's People

Contributors

jakebian avatar sdwolfz avatar

Watchers

Justin Garrison avatar James Cloos avatar  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.