summaryrefslogtreecommitdiff
path: root/fnf7
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
committerPatrick Simianer <p@simianer.de>2016-04-16 16:34:33 +0200
commit95b3e4bb744932ce4eac14bb350cc0455d15848a (patch)
treec96093d9667c87264a8820d876041fe96b068f57 /fnf7
parentfca926851e1d56eeb0044727fe976252d646f48d (diff)
mv
Diffstat (limited to 'fnf7')
-rwxr-xr-xfnf722
1 files changed, 0 insertions, 22 deletions
diff --git a/fnf7 b/fnf7
deleted file mode 100755
index ee5548e..0000000
--- a/fnf7
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env ruby
-
-xrandrq = `xrandr -q`
-
-`touch /tmp/qqqaaa`
-
-if xrandrq.match /VGA1 connected/
- if File.exists? '/tmp/__vga_connected'
- `xrandr --output VGA1 --off`
- `xrandr --output LVDS1 --mode 1024x768`
- `rm /tmp/__vga_connected`
- else
- if xrandrq.match /1680x1050\s+\d+\.\d+\s++/
- `xrandr --output VGA1 --mode 1680x1050 --rate 60 --rotate left`
- 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
-