Comments (15)
Wait... I just forgot to restart swww after my upgrade. Sorry for the confusion!
from swww.
Thanks for the immediate fix!
from swww.
The current workaround is to first save it to a temp file, load swww img, and then removes the temp file
from swww.
This should be pretty doable, actually. Though it will create a problem where swww query
won't know the name of the image (since it uses the file's name for that). So it would answer something like: currently displaying "stdin"
. Would that be fine?
from swww.
Perfectly fine!
from swww.
My apologies, I realized that this is actually harder than I initially thought. This is because what we send to the daemon
is not the image file, but the image's filename. This means that, currently, in order to read a image, it needs to exist somewhere in the file system. I might be able to do something using temporary files, but, again, this is more complicated than what I had fist envisioned.
from swww.
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 stdin
into the program.
from swww.
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.
from swww.
org-cat test.png | swww img -o HDMI-A-1 -
(error msg Error: "Failed to serialize request: io error: Broken pipe (os error 32)"
)
Why would this fail?
org-cat test.png | imv -
This however works.
from swww.
it shouldn't, specially not with that error.
Thanks for testing this!
Re-openning.
from swww.
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 swww init
and then try doing that?
from swww.
this seem to be broken on the latest git.
org-cat /tmp/out.png | swww img -
this doesn't work
from swww.
This is the faulty commit. I wonder if it's possible to make these kind of stuff in tests.
from swww.
Ah yes, this is because we are trying to canonicalize all paths, but '-' is not a valid path, is it?
from swww.
I am fixing it; added a new test too to make sure it doesn't happen again
from swww.
Related Issues (20)
- Error: "Daemon did not return Answer::Ping, as expected" when using systemd HOT 2
- issues with swww v0.9.2 about resize "fit" option HOT 22
- swww 0.9.3 doesn't correctly scale images on hidpi HOT 2
- Swww crashing when switching the wallpaper image. HOT 2
- v0.9.3 broke resizing of wallapapers HOT 2
- Wallpaper scalling issue HOT 2
- swww doesn't set full screen wallpaper when using vertical monitor HOT 1
- [Feature request] add hyprland splash render HOT 1
- Background broken after change with fractional scaling HOT 3
- swww crashed itself and sway HOT 7
- How to limit ram usage for swww? HOT 3
- layer shell is not available: NotPresent HOT 2
- v0.9.5 still doesn't work properly with transforms HOT 4
- Warped and Grayscaled image on some integrated displays HOT 6
- swww-daemon crash on utf8 error HOT 15
- Transition postitions seem to be inverted HOT 2
- Consistent swww-daemon crashing after ~20 minutes [Hyprland] HOT 3
- Very slow performance on intel integrated graphics HOT 4
- images look horribly wrong when set as wallpapers in all image formats including gif HOT 5
- Scaling issues (when using with way-displays?) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swww.