Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider outputs created by chooser_cmd #312

Open
hrdl-github opened this issue Jun 6, 2024 · 1 comment
Open

Consider outputs created by chooser_cmd #312

hrdl-github opened this issue Jun 6, 2024 · 1 comment

Comments

@hrdl-github
Copy link

At the moment I conditionally create a headless output via swaymsg create_output in case there are no headless outputs. I've tried adding this to chooser_cmd, but this fails the first time because the output is not in ctx->output_list. Do you have any opinion on whether this is worth fixing and if so, how?

@fredericve
Copy link

fredericve commented Oct 21, 2024

Noticed the same thing. I crafted a script to create a headless output on the fly but I need to start the screencast twice before it works. In the exec_after I have a script to unplug the headless output.

I though of doing an exec_before to create the headless output instead but the chooser_cmd runs before that.

As a workaround for that I now have a keybinding to create the output, but that's somewhat cumbersome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants