about summary refs log tree commit diff
path: root/users/tazjin/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-07-03T14·26+0300
committerclbot <clbot@tvl.fyi>2023-07-03T14·34+0000
commit7c8fe6ccc8e047f8330f1e3ab25afa8f2e2f56d4 (patch)
treec9762b37b125d9ed4fba69898d490679dc28de7f /users/tazjin/emacs/config
parent2af1db33731fcbd01c4924a8040f86b744c87aaa (diff)
fix(tazjin/emacs): call exwm-randr-refresh in khamovnik layout r/6390
Change-Id: Id0347f457cdd0f769fff19659c5a3597efee171f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8924
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/emacs/config')
-rw-r--r--users/tazjin/emacs/config/desktop.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 77546c27765f..2fe82f1287de 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -354,7 +354,8 @@ in-progress."
   (set-randr-config `(("eDP-1" 1 2)
                       ("DP-2" 3 4 5 6 7 8 9 0)))
 
-  (shell-command "xrandr --output DP-2 --auto --primary --right-of eDP-1"))
+  (shell-command "xrandr --output DP-2 --auto --primary --right-of eDP-1")
+  (exwm-randr-refresh))
 
 (defun randr-khamovnik-layout-single ()
   "Use only the internal screen."