diff options
author | Vincent Ambo <mail@tazj.in> | 2020-06-24T01·23+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-06-24T01·27+0000 |
commit | 14317eea79fe8ea799a263542f126b59f4361d5c (patch) | |
tree | 55d71929fdcf86d40b5d15a6344a237403d2b8e0 /users/tazjin/emacs | |
parent | e7dd5e30e949611add6f6e69c2a63f3863f7cfce (diff) |
fix(tazjin/frog): Explicitly use amdgpu driver r/1072
This ends up using the same driver, but generates saner display names somehow. Who knows what's going on there. FWIW, it didn't help with the font weight issue. Change-Id: Ib6161088b23109f4f0e24b8a87c478ad274df4d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/566 Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/emacs')
-rw-r--r-- | users/tazjin/emacs/config/desktop.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el index b5915233cd51..8cb0f18b7462 100644 --- a/users/tazjin/emacs/config/desktop.el +++ b/users/tazjin/emacs/config/desktop.el @@ -216,18 +216,18 @@ (defun randr-frog-layout-right-only () "Use only the right screen on frog." (interactive) - (set-randr-config `(("DP-1" ,(number-sequence 0 9)))) - (shell-command "xrandr --output DP-2 --off") - (shell-command "xrandr --output DP-1 --auto --primary")) + (set-randr-config `(("DisplayPort-0" ,(number-sequence 0 9)))) + (shell-command "xrandr --output DisplayPort-1 --off") + (shell-command "xrandr --output DisplayPort-0 --auto --primary")) (defun randr-frog-layout-both () "Use the left and right screen on frog." (interactive) - (set-randr-config `(("DP-2" 1 2 3 4 5) - ("DP-1" 6 7 8 9 0))) + (set-randr-config `(("DisplayPort-1" 1 2 3 4 5) + ("DisplayPort-0" 6 7 8 9 0))) - (shell-command "xrandr --output DP-2 --auto --primary --left-of DP-1") - (shell-command "xrandr --output DP-1 --auto --right-of DP-2")) + (shell-command "xrandr --output DisplayPort-1 --auto --primary --left-of DisplayPort-0") + (shell-command "xrandr --output DisplayPort-0 --auto --right-of DisplayPort-1")) (pcase (s-trim (shell-command-to-string "hostname")) ("vauxhall" |