diff options
-rwxr-xr-x | fnf7 | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |