From 9d3145df488ce09020d1b7b5ea9cf08f66a760b4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 3 May 2022 17:06:25 +0200 Subject: chore(tazjin/emacs): Improve TV screen layout positioning Change-Id: Ic9a6b30c04382c57ccb8620786f8f6a091c8e306 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5532 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/desktop.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'users') diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el index 39e431e9b3b7..15c0b1f5e107 100644 --- a/users/tazjin/emacs/config/desktop.el +++ b/users/tazjin/emacs/config/desktop.el @@ -320,14 +320,14 @@ 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." +(defun randr-tverskoy-tv () + "Split off a workspace to the TV over HDMI." (interactive) (set-randr-config - '(("eDP" 1 2 3 4 5 6 7) - ("HDMI-A-0" 8 9 0))) + '(("eDP" 1 2 3 4 5 6 7 8 9) + ("HDMI-A-0" 0))) - (shell-command "xrandr --output HDMI-A-0 --above eDP --mode 1920x1080") + (shell-command "xrandr --output HDMI-A-0 --left-of eDP --mode 1920x1080") (exwm-randr-refresh)) ;; Layouts for frog (desktop) -- cgit 1.4.1