comparison bin/swapscreens.sh @ 343:71345f4de3ce

programs to list make targets
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 23 Jun 2013 12:54:11 -0700
parents 206d7550bf45
children
comparison
equal deleted inserted replaced
342:481b55fc4b96 343:71345f4de3ce
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # swap screens between internal laptop monitor and external monitor 3 # swap screens between internal laptop monitor and external monitor
4 # XXX sensitive to the individual laptop :(
5
6 # See also `unxrandr`:
7 # unxrandr - inverse tool of xrandr
8 # unxrandr is a tool that queries the XRandR state using ARandR's
9 # libraries and outputs an xrandr command line that reproduces the state
10
4 11
5 INTERNAL="LVDS1" 12 INTERNAL="LVDS1"
6 EXTERNAL="VGA1" 13 EXTERNAL="VGA1"
7 INTERNAL_MODE="1366x768" 14 INTERNAL_MODE="1366x768"
8 EXTERNAL_MODE="1600x1200" 15 EXTERNAL_MODE="1600x1200"