Last active
December 13, 2016 14:07
-
-
Save itsamoreh/9ce66b12d9382af207045e4ca696e0c0 to your computer and use it in GitHub Desktop.
Keyboard shortcut to center 1080p window on a WQHD display with wmctrl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh -c "wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz && wmctrl -r :ACTIVE: -e 0,320,180,1920,1080" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Depends on
wmctrl
.Tested on Ubuntu 16.10 with Unity.