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". |
||
|---|---|---|
| .. | ||
| .emacs.d | ||
| default.nix | ||
| elisp-conventions.md | ||
| keybindings.md | ||
| README.md | ||
| snippets.md | ||
Emacs
Emacs is one of a handful software projects that I highly value. I consider it
as central to my workflow as git and nix.
Installing
If you already have briefcase on your local file system, run the following
from the top-level briefcase directory:
$ nix-build -f . -iA emacs.nixos