GitXplorerGitXplorer
b

wmctrl

public
9 stars
5 forks
0 issues

Commits

List of commits on branch master.
Unverified
f1ce5f7fdf405d3de7e4dd26c1af140a8102c53b

Added debugging option, and removed minimize for now, the send to back does not work as intended. Cleaned up some code a bit too.

committed 13 years ago
Unverified
2f9f9b46065427b140c182c060d16559f58463c7

Removed panel_height from affect height on left(), this is not needed, the sanity check handles it.

committed 13 years ago
Unverified
f5369888989b76ff0358ffd17f0e3b8822625360

First draft. Should work for most systems, will be adding in support for multiple monitors that aren't using separate x screens.

committed 13 years ago
Unverified
022ce5045e82455e5b588222fdf08ce802f0b6ee

Initial commit

bbenhutchins committed 13 years ago

README

The README file for this repository.

wmctrl.py

A simpler Python script to add Windows-7 like shortcuts to Linux.

This application relies on wmctrl, ensure you have it installed before use.

sudo apt-get install wmctrl xdotool

Add keyboard shortcuts calling a command from the list below like:

python wmctrl.py left

Available commands are:

command           | description                                                   | recommended shortcut
--------------------------------------------------------------------------------------------------------
left                Position active window on the left-half of your desktop.        Super+Left
right               Position active window on the right-half of your desktop        Super+Right
up                  Toggle maximized state of active window (TODO)                  Super+Up
down                Demaximize window if maximized, if not, minimize window.        Super+Down
shift-left          Position window to take up 1/3 or 2/3 of desktop on left.       Super+Shift+Left
shift-right         Position window to take up 1/3 or 2/3 of desktop on right.      Super+Shift+Right
shift-up            Position a window to take up 1/2 of desktop on top.             Super+Shift+Up
shift-down          Position a window to take up 1/2 of desktop on bottom.          Super+Shift+Down