diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-10-17 17:13:24 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-10-17 17:13:24 -0400 |
| commit | 50e82e51477a8a276430afbee6d73a0a1b13fede (patch) | |
| tree | ce029e066207e7fe12e9d5dc0d7e662c98673b09 | |
| parent | Fix previous commit one last time, in the name of all things holy (diff) | |
| download | mmosmacs-50e82e51477a8a276430afbee6d73a0a1b13fede.tar.gz mmosmacs-50e82e51477a8a276430afbee6d73a0a1b13fede.tar.bz2 mmosmacs-50e82e51477a8a276430afbee6d73a0a1b13fede.zip | |
Add EXWM support for multiple monitors and assign workspaces
| -rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -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 |