about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/desktop.el
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/emacs/config/desktop.el')
-rw-r--r--users/tazjin/emacs/config/desktop.el9
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)