Open mvdan opened 3 years ago
Yes, this is a planned feature. I mentioned it in https://github.com/emersion/kanshi/issues/10.
Part of the work necessary was started in https://github.com/emersion/kanshi/pull/52, but it would be nice to untangle this PR so that the commit adding signal handling is separate from the one adding IPC.
Oh, nice. I searched but didn't find https://github.com/emersion/kanshi/issues/10 because the title didn't mention switching. Up to you if you want to close as a duplicate.
My config normally looks like:
I want to add an extra profile whichis a variation on
docked
, but with one of the displays at 1920x1080 for the sake of 1080p streaming/recording. Imagine I call itrecording
.I understand that kanshi is meant to be for automating selection of profiles via hotplugging, but it would be nice if I could also run something like
kanshi recording
to immediately apply a specific profile, and some other likekanshi reset
to re-apply the default given the available outputs.Or perhaps a different mechanism entirely, like a command or flag to cycle through the profiles which match the current outputs.
I realise that this feature is out of scope for the hotplugging design, but if I'm already defining my output profiles in the kanshi config, it seems out of place to have to use a separate tool and duplicate those options.