about summary refs log tree commit diff
path: root/users/tazjin/emacs/config/desktop.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-03T15·06+0200
committerclbot <clbot@tvl.fyi>2022-05-07T11·10+0000
commit9d3145df488ce09020d1b7b5ea9cf08f66a760b4 (patch)
tree08650244575369e867802dc119504957f08cbec6 /users/tazjin/emacs/config/desktop.el
parent54684f6c345dacf8a8122023c8c205d991e99044 (diff)
chore(tazjin/emacs): Improve TV screen layout positioning r/4014
Change-Id: Ic9a6b30c04382c57ccb8620786f8f6a091c8e306
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5532
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config/desktop.el')
-rw-r--r--users/tazjin/emacs/config/desktop.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 39e431e9b3..15c0b1f5e1 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -320,14 +320,14 @@ 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."
+(defun randr-tverskoy-tv ()
+  "Split off a workspace to the TV over HDMI."
   (interactive)
   (set-randr-config
-   '(("eDP" 1 2 3 4 5 6 7)
-     ("HDMI-A-0" 8 9 0)))
+   '(("eDP" 1 2 3 4 5 6 7 8 9)
+     ("HDMI-A-0" 0)))
 
-  (shell-command "xrandr --output HDMI-A-0 --above eDP --mode 1920x1080")
+  (shell-command "xrandr --output HDMI-A-0 --left-of eDP --mode 1920x1080")
   (exwm-randr-refresh))
 
 ;; Layouts for frog (desktop)