From dd797f8d3e2eec7f7ecee28e8c592da438f2e6e2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 31 Mar 2022 14:22:41 +0200 Subject: feat(tazjin/emacs): Add randr layout with TV screen above laptop Change-Id: I302f9d86d7325ce97c95fd61deb9ff722f9d0ce1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5426 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/emacs/config/desktop.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el index 2b50c4203933..39e431e9b3b7 100644 --- a/users/tazjin/emacs/config/desktop.el +++ b/users/tazjin/emacs/config/desktop.el @@ -320,6 +320,16 @@ in-progress." (shell-command "xrandr --output HDMI-A-0 --left-of eDP --auto") (exwm-randr-refresh)) +(defun randr-tverskoy-tv-above () + "Split the workspace across two screens, assuming TV above." + (interactive) + (set-randr-config + '(("eDP" 1 2 3 4 5 6 7) + ("HDMI-A-0" 8 9 0))) + + (shell-command "xrandr --output HDMI-A-0 --above eDP --mode 1920x1080") + (exwm-randr-refresh)) + ;; Layouts for frog (desktop) (defun randr-frog-layout-right-only () -- cgit 1.4.1