ncvescera / PythonCenteringWindows

A python "tiling" script for non tiling WMs for X11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PythonCenteringWindows

A python script able to center windows based on Xorg Server

Install

Install required modules with:

pip install -r requirements.txt

Usage

You can run this script with:

python main.py [args]

Without no arguments this script center and resize the window.
With --noresize argument this script centere the window and keeps his size.

WARNING: This script is tested only with XFCE4 and it works for now !

Xfce4 configuration

You can set a keyboard shortcut for this script like this:

  1. Open Settings Manager
  2. Select Keyboard
  3. Under Application Shortcut use the add button to add a new shortcut
  4. Add python path/of/dir (or python path/to/dir --noresize)
  5. Choose a shortcut: SUPER + K
  6. DONE

About

A python "tiling" script for non tiling WMs for X11

License:Apache License 2.0


Languages

Language:Python 100.0%