autorandr icon indicating copy to clipboard operation
autorandr copied to clipboard

Hook script: `preconfigure`

Open mattalxndr opened this issue 2 years ago • 0 comments

Potential enhancement? A preconfigure hook that allows the user to alter the configuration at runtime.

Use case: I have one main display, and two smaller display, one on either side. The displays on the side are always being physically rotated between portrait and landscape, depending on if I have a terminal up, or I'm watching a movie or something. It would be nice to be able to save my own state somewhere, consult it during a preconfigure hook script call, and change the rotate option on one or both.

I know I could just save a new profile for each combination of these monitors' position, but I already have a profiles to cover one or both of them being off, which is another way I pysically fool with them during the day. So the number of profiles would start to grow exponentially.

mattalxndr avatar Dec 16 '22 11:12 mattalxndr