fix(tazjin/frog): Flip order of screens around

I switched the physical connectors of these to avoid having the boot &
disk unlocking process happen on the vertical screen.

Change-Id: Iaf0be5edd145aa763437e2352438ee11c8d64c3d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1335
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2020-07-21 20:14:14 +01:00 committed by tazjin
parent 7770d4b2a0
commit d305e39187

View file

@ -217,17 +217,17 @@
"Use only the right screen on frog."
(interactive)
(set-randr-config `(("DisplayPort-0" ,(number-sequence 0 9))))
(shell-command "xrandr --output DisplayPort-1 --off")
(shell-command "xrandr --output DisplayPort-0 --auto --primary"))
(shell-command "xrandr --output DisplayPort-0 --off")
(shell-command "xrandr --output DisplayPort-1 --auto --primary"))
(defun randr-frog-layout-both ()
"Use the left and right screen on frog."
(interactive)
(set-randr-config `(("DisplayPort-1" 1 2 3 4 5)
("DisplayPort-0" 6 7 8 9 0)))
(set-randr-config `(("DisplayPort-0" 1 2 3 4 5)
("DisplayPort-1" 6 7 8 9 0)))
(shell-command "xrandr --output DisplayPort-1 --auto --primary --left-of DisplayPort-0")
(shell-command "xrandr --output DisplayPort-0 --auto --right-of DisplayPort-1 --rotate left"))
(shell-command "xrandr --output DisplayPort-0 --auto --primary --left-of DisplayPort-1")
(shell-command "xrandr --output DisplayPort-1 --auto --right-of DisplayPort-0 --rotate left"))
(pcase (s-trim (shell-command-to-string "hostname"))
("vauxhall"