aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-10-17 17:13:24 -0400
committerMountain Man <43313373+MountainMan1312@users.noreply.github.com>2023-10-17 17:13:24 -0400
commit50e82e51477a8a276430afbee6d73a0a1b13fede (patch)
treece029e066207e7fe12e9d5dc0d7e662c98673b09 /init.el
parentFix previous commit one last time, in the name of all things holy (diff)
downloadmmosmacs-50e82e51477a8a276430afbee6d73a0a1b13fede.tar.gz
mmosmacs-50e82e51477a8a276430afbee6d73a0a1b13fede.tar.bz2
mmosmacs-50e82e51477a8a276430afbee6d73a0a1b13fede.zip
Add EXWM support for multiple monitors and assign workspaces
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el
index f2f8a9c..2877df9 100644
--- a/init.el
+++ b/init.el
@@ -208,6 +208,13 @@
208 ([?\s-w] . exwm-workspace-switch))) 208 ([?\s-w] . exwm-workspace-switch)))
209 (exwm-enable)) 209 (exwm-enable))
210 210
211;; Setup multiple monitors & workspace assignments
212(require 'exwm-randr)
213(exwm-randr-enable)
214(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")
215(setq exwm-randr-workspace-monitor-plist
216 (pcase (system-name)
217 ("anu.tgwil.net" '(5 "HDMI-2"))))
211 218
212;; --------------------------------- 219;; ---------------------------------
213;; Temporary theme 220;; Temporary theme