X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/e7125caf1ae01df9ae58693d71ca29ed75a94eda..c942efc6615412232053803480682b9b0e3591a3:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 48971fd..47ff590 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -754,7 +754,20 @@ around if needed." :demand :after exwm :config - (exwm-randr-enable)) + (exwm-randr-enable) + :custom + (exwm-randr-workspace-monitor-plist '(1 "VGA-1")) + :hook + (exwm-randr-screen-change . (lambda () + (let ((xrandr + (string-join + '("xrandr" + "--output VGA-1" + "--same-as LVDS-1" + "--auto") + " "))) + (start-process-shell-command + "xrandr" nil xrandr))))) (use-feature exwm-systemtray :demand