From 8e33ae4ad7b8ddc66d67fa79955644a8e0c9f265 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 23 Jun 2021 20:15:12 +0200 Subject: feat(tazjin/emacs): Add layout for external TV on tverskoy Change-Id: I6ac9b7180b940ca3018d999500f035245a358079 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3246 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/emacs/config/desktop.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el index 52dea2ca14a3..b152aeac0b87 100644 --- a/users/tazjin/emacs/config/desktop.el +++ b/users/tazjin/emacs/config/desktop.el @@ -229,12 +229,22 @@ (interactive) (set-randr-config '(("eDP1" 8 9 0) - ("HDMI1" 1 2 4 5 6 7))) + ("HDMI1" 1 2 3 4 5 6 7))) (shell-command "xrandr --output DP2 --off") (shell-command "xrandr --output HDMI1 --right-of eDP1 --auto --primary") (exwm-randr-refresh)) +(defun randr-tverskoy-extend-tv () + "Move the last workspace on the TV to the side." + (interactive) + (set-randr-config + '(("eDP" 1 2 3 4 5 6 7 8 9) + ("HDMI-A-0" 0))) + + (shell-command "xrandr --output HDMI-A-0 --above eDP --auto") + (exwm-randr-refresh)) + (defun randr-vauxhall-layout-remarkable () "Make the reMarkable the primary screen." (interactive) -- cgit 1.4.1