From d305e39187f617ad52fb699818c723ade4cf1ef2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 21 Jul 2020 20:14:14 +0100 Subject: 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 Tested-by: BuildkiteCI --- users/tazjin/emacs/config/desktop.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el index 1ec1769de9..f07e4fd45e 100644 --- a/users/tazjin/emacs/config/desktop.el +++ b/users/tazjin/emacs/config/desktop.el @@ -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" -- cgit 1.4.1