-
Notifications
You must be signed in to change notification settings - Fork 82
Supporting reading the image from stdin #42
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
Comments
The current workaround is to first save it to a temp file, load swww img, and then removes the temp file |
This should be pretty doable, actually. Though it will create a problem where |
Perfectly fine! |
My apologies, I realized that this is actually harder than I initially thought. This is because what we send to the |
Alright. The only limitation is that #62 will not animate any gifs you send in. I think I am going to keep it that way, since I don't really like the idea of piping giant gifs through |
I decided to close like this for now, if anyone reading this would like to read animated gifs from stdin, please open another issue and I will get to it. |
|
it shouldn't, specially not with that error. Re-openning. |
Now, we have a problem: I can't seem to be able to reproduce this... Can you maybe give some more details? Do you literally just |
Wait... I just forgot to restart swww after my upgrade. Sorry for the confusion! |
this seem to be broken on the latest git. |
Ah yes, this is because we are trying to canonicalize all paths, but '-' is not a valid path, is it? |
I am fixing it; added a new test too to make sure it doesn't happen again |
Thanks for the immediate fix! |
This is a weird request, but I wish it's possible to do something like this
cat wallpaper.png | swww img -
where
-
stands for read from standard input as most program doThe text was updated successfully, but these errors were encountered: