summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-14 22:11:03 +0200
committerPatrick Simianer <p@simianer.de>2016-04-14 22:11:03 +0200
commit477b1876e707540c9934cf42fbbc7945d784981e (patch)
tree0323950d552f6a576e206703568f875641d99ad6
parentabe4122459066a6ef4a7d073f26b2ec4b3311afd (diff)
fnf7: monitor at home
-rwxr-xr-xfnf76
1 files changed, 4 insertions, 2 deletions
diff --git a/fnf7 b/fnf7
index 7a7e21c..ee5548e 100755
--- a/fnf7
+++ b/fnf7
@@ -12,9 +12,11 @@ if xrandrq.match /VGA1 connected/
else
if xrandrq.match /1680x1050\s+\d+\.\d+\s++/
`xrandr --output VGA1 --mode 1680x1050 --rate 60 --rotate left`
- `xrandr --output LVDS1 --off`
- `touch /tmp/__vga_connected`
+ elsif xrandrq.match /1600x1200\s+\d+\.\d+\s++/
+ `xrandr --output VGA1 --mode 1600x1200 --rate 60 --rotate right`
end
+ `xrandr --output LVDS1 --off`
+ `touch /tmp/__vga_connected`
end
end