GithubHelp home page GithubHelp logo

xfce-tile's Introduction

xfce-tile

placement / tile xfce windows using dynamic grid

getting started

  • checkout or download the script
  • install required python3 and GObject module for python
# ubuntu
apt-get install python3-gi python3-xlib
# arch 
pacman -S python-gobject python-xlib
  • Add keyboard shortcuts to xfce.
    Using the xfce-setup-shortcuts.sh-script will add all shortcuts.
    You may manually add shortcuts using xfce4-keyboard-settings.
    e.g. Link Alt + Num -4 to the pywin command. \
    Alt + Num - 4 > python /some/path/pywin.py --position w --stateful 

usage

usage: pywin.py [-h] -p position [-f factor] [-s] [-v] [-m scale-factors]

Window-Placement/Window-tiling

optional arguments:
  -h, --help            show this help message and exit
  -p position, --pos position
                        Direction to place window. Using abbreviations for directions like n=north ne=northeast and so on. Use one of:n,ne,e,se,s,sw,w,nw,center
  -f factor, --factor factor
                        default scale factor 
  -s, --stateful        remember window sizing by storing some data under: /tmp/pywin.json
  -v, --verbose         print some debugging output
  -o, --horizontal      scale only horizontal
  -e, --vertically      scale only vertical
  -m scale-factors, --my-factors scale-factors
                        Comma delimited list of scale-factors to use. e.g. "1,1.5,2,3" This requires stateful option.

xfce-tile's People

Contributors

dodophoenix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

krisskross

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.