I have a super ultrawide monitor and snapping windows to only half the screen isn't enough. Thats the only option you have on most operating systems though. Inspired by Spectacle for mac, this little gadget lets you snap windows into halves, thirds, quarters and sixths. Works on windows and linux.
Windows: Auto Hot Key if you would like to edit the script, otherwise it's standalone.
Linux: python and the gtk module
Win+Alt+Left: Snap a window to the left. Repeated presses decrease the size of the window.
Win+Alt+Right: Snap a window to the right. Repeated presses decrease the size of the window.
Win+Alt+Up: Center the window.
Win+Alt+Down: Increase window size by smallest allowed increment (1/6 of the screen width).
Ctrl+Win+Alt+Left: Move a window left by size of window.
Ctrl+Win+Alt+Right: Move a window right by by size of window.
Ctrl+Win+Alt+Down: Some windows have a huge invisible border, this might fix that. It also might not, it's a tricky issue.
Ctrl+Alt+Up: Linux: Show/Hide the window decoration such as titlebar and borders. Windows: Show/Hide the taskbar.
Clone the Repo somewhere on your computer and cd into the Linux directory then simply run Install.S
git clone https://github.com/dannywrayuk/winsnap.git
cd Linux
./Install.S
If you're lazy, download the windows folder and run the script inside it. But if you're xXhacker_pro_420Xx like me, do this
git clone https://github.com/dannywrayuk/winsnap.git
cd Windows
Install.bat