about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/keybindings.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-10-04T15·20+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-10-04T15·20+0100
commitf3ee628a4cbecfda002928db09e4c3e9d223ba87 (patch)
treefbcf44e0a4aef995941856b238a452b539c865dc /emacs/.emacs.d/wpc/keybindings.el
parent4187e888c8418844ad96ce94b857e96fffac9ee4 (diff)
Support display-arrangement macro
I was tired of using `arandr` to manually configure my monitor positions, so I
encoded the settings in Elisp in the `display.el` module.

TL;DR:
- Drop support for `position` kwarg in `display-register` macro
- Support `coords` kwarg in `display-register`.
- `defconst` the `xrandr` arguments and command in `display-register`.
- Define `display-arrangement` macro that consumes the `xrandr` arguments that
  `display-register` defines to create an interactive function,
  `display-arrange-<NAME>`, which -- when invoked -- runs one xrandr command to
  configure a display "arrangement".
Diffstat (limited to 'emacs/.emacs.d/wpc/keybindings.el')
0 files changed, 0 insertions, 0 deletions