feat(tazjin/emacs): add screen layout for khamovnik @ home

Change-Id: I5e6213c1ebe74dc799f97a6d6c963c71ef29e66f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8986
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-07-26 11:33:21 +03:00 committed by clbot
parent 8b870c7ec9
commit dc1711292f

View file

@ -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)