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.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 2b50c4203933..39e431e9b3b7 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -320,6 +320,16 @@ in-progress."
   (shell-command "xrandr --output HDMI-A-0 --left-of eDP --auto")
   (exwm-randr-refresh))
 
+(defun randr-tverskoy-tv-above ()
+  "Split the workspace across two screens, assuming TV above."
+  (interactive)
+  (set-randr-config
+   '(("eDP" 1 2 3 4 5 6 7)
+     ("HDMI-A-0" 8 9 0)))
+
+  (shell-command "xrandr --output HDMI-A-0 --above eDP --mode 1920x1080")
+  (exwm-randr-refresh))
+
 ;; Layouts for frog (desktop)
 
 (defun randr-frog-layout-right-only ()