diff options
author | Vincent Ambo <tazjin@tvl.su> | 2023-07-26T08·33+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-07-26T08·36+0000 |
commit | dc1711292fb0aa52fc9ce041d49ec83703ea2c4d (patch) | |
tree | 01f600916f1e045dbea4fff0ee6319ce9ef7cbcf | |
parent | 8b870c7ec91eb85f7e37eba8cffe022067865ab7 (diff) |
feat(tazjin/emacs): add screen layout for khamovnik @ home r/6444
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
-rw-r--r-- | users/tazjin/emacs/config/desktop.el | 9 |
1 files changed, 9 insertions, 0 deletions
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) |