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

Output to stdout #126

Open
qeezzo opened this issue Oct 12, 2024 · 3 comments
Open

Output to stdout #126

qeezzo opened this issue Oct 12, 2024 · 3 comments

Comments

@qeezzo
Copy link

qeezzo commented Oct 12, 2024

print to stdout if -o --output-filename is: -
cool feature to create own pipeline
swappy do the same thing

@gabm
Copy link
Owner

gabm commented Oct 12, 2024

I believe there was an issue about that. I agree with your proposal!

current solution is: -o /dev/stdout.

@qeezzo
Copy link
Author

qeezzo commented Dec 10, 2024

Unfortunately, it is not possible :)

        if !output_filename.ends_with(".png") {
            log_result(
                "The only supported format is png, but the filename does not end in png",
                !APP_CONFIG.read().disable_notifications(),
            );
            return;
        }

@gabm
Copy link
Owner

gabm commented Dec 30, 2024

then we should exclude - from that check. Would you provide a PR?

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