about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-21T19·14+0100
committertazjin <mail@tazj.in>2020-07-21T19·15+0000
commitd305e39187f617ad52fb699818c723ade4cf1ef2 (patch)
tree185891f820b009bc02e46cdcf736ba795dbef731
parent7770d4b2a0e68e96d07073308896db516a82fd40 (diff)
fix(tazjin/frog): Flip order of screens around r/1416
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
-rw-r--r--users/tazjin/emacs/config/desktop.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 1ec1769de933..f07e4fd45ec3 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"