about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/emacs/config/desktop.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 52dea2ca14a3..b152aeac0b87 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -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)