projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7125ca
)
emacs: exwm: add some rudimentary exwm-randr settings
author
Amin Bandali
<bandali@gnu.org>
Thu, 12 Sep 2019 03:45:28 +0000
(23:45 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Thu, 12 Sep 2019 03:48:17 +0000
(23:48 -0400)
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
48971fd
..
47ff590
100644
(file)
--- a/
.emacs.d/init.el
+++ b/
.emacs.d/init.el
@@
-754,7
+754,20
@@
around if needed."
:demand
:after exwm
:config
: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
(use-feature exwm-systemtray
:demand