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 <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-06-23 20:15:12 +02:00 committed by tazjin
parent 60dfa3a971
commit 8e33ae4ad7

View file

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