about summary refs log tree commit diff
path: root/scratch
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-28T12·41+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-28T12·41+0100
commit831dba20bf8ef1aa60410a98e0a4fbd70b848e86 (patch)
tree0d8edb3c5ba92cdce3a69b9256304853e325f686 /scratch
parent34ec3104f77222164e3ef970c9834d149653b880 (diff)
Define display-4k-vertical
I recently acquired a new monitor, which I'm orienting vertically for logs,
chats, etc. As such I needed to add more functions, KBDs to wrangle the
setup. To DRY up my code, I define a macro, `display-register`, as a DSL for
supporting new monitors. This:
- defines two functions for enabling and disabling the displays
- defines a constant, `display-<name>`

It's basically just a wrapper around `xrandr`, and that's good enough for now.
Diffstat (limited to 'scratch')
0 files changed, 0 insertions, 0 deletions