From dc1711292fb0aa52fc9ce041d49ec83703ea2c4d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 26 Jul 2023 11:33:21 +0300 Subject: feat(tazjin/emacs): add screen layout for khamovnik @ home Change-Id: I5e6213c1ebe74dc799f97a6d6c963c71ef29e66f Reviewed-on: https://cl.tvl.fyi/c/depot/+/8986 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/emacs/config/desktop.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'users') diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el index 1d7b66f5c0cb..997310d0e98a 100644 --- a/users/tazjin/emacs/config/desktop.el +++ b/users/tazjin/emacs/config/desktop.el @@ -342,6 +342,15 @@ in-progress." (shell-command "xrandr --output DP-2 --mode 2560x1440 --primary --right-of eDP-1") (exwm-randr-refresh)) +(defun randr-khamovnik-layout-home () + "Use the left and right screen on khamovnik, at home." + (interactive) + (set-randr-config `(("HDMI-1" 1 2 3 4 5 6 7 8) + ("eDP-1" 9 0))) + + (shell-command "xrandr --output HDMI-1 --auto --primary --left-of eDP-1") + (exwm-randr-refresh)) + (defun randr-khamovnik-layout-single () "Use only the internal screen." (interactive) -- cgit 1.4.1