From 50e82e51477a8a276430afbee6d73a0a1b13fede Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Tue, 17 Oct 2023 17:13:24 -0400 Subject: Add EXWM support for multiple monitors and assign workspaces --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index f2f8a9c..2877df9 100644 --- a/init.el +++ b/init.el @@ -208,6 +208,13 @@ ([?\s-w] . exwm-workspace-switch))) (exwm-enable)) +;; Setup multiple monitors & workspace assignments +(require 'exwm-randr) +(exwm-randr-enable) +(start-process-shell-command "xrandr" nil "xrandr --output VGA-1 --off --output DP-1 --off --output HDMI-1 --mode 1920x1080 --pos 0x500 --rotate normal --output DP-2 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate left") +(setq exwm-randr-workspace-monitor-plist + (pcase (system-name) + ("anu.tgwil.net" '(5 "HDMI-2")))) ;; --------------------------------- ;; Temporary theme -- cgit v1.2.3