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
#!/bin/bash | |
# Written by Andrew McDonough | |
# Prerequisites: xdotool must be installed and in your path (http://tinyurl.com/xdotool) | |
# A simple bash script that uses xdotool to move the window that is currently in focus to different parts of the screen. | |
# Particularly useful for reading web pages with flexible layouts on wide monitors. | |
# Assign the various options to keyboard shortcuts e.g. '<Super>Left' assigned to 'swind left' | |
# See http://tinyurl.com/ubuntukeys for help with assigning keyboard shortcuts. | |