Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
/ wmctrl Public archive

A simple Python script to add Windows-7 like shortcuts to Linux. Originally based off Stiler.

Notifications You must be signed in to change notification settings

benhutchins/wmctrl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A simple Python script to add Windows-7 like shortcuts to Linux. Originally based off Stiler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages