-
Notifications
You must be signed in to change notification settings - Fork 78
Feature Request | Support for svgs #48
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
Unlikely to be implemented anytime soon (if at all), as the image crate doesn't seem to have (or plan to have) support for it. |
Update: if I manage to finish up #52, doing this wouldn't be so bad. We could use the resvg crate for it. I won't make any guarantees, however, since using svgs for wallpapers strikes me as very niche. If it makes things too complicated, I probably won't do it. EDIT: also note resvg only supports very basic svg. So, no animations or events. |
SVGs can be rendered pixel perfect for monitors and will always look sharp. Thats my main reason to prefer SVG wallpaper when possible/available. Gnome also delivers their wallpapers as SVG or WebP. |
Just leaving a comment to say that I'd like this to be implemented too. I want to use SVGs as background images since they can be very easily modified with scripts to change their color palette, allowing me to have a set of backgrounds that match my overall colorscheme. |
I don't want to clog up this channel but I too would love to see SVG support. |
I was just want to say that reading these comments I have been convinced that it would be nice to have SVG support in Right now I have my hands full with the |
If this is something you guys want to have right now I wrote a small shell script to handle it for myself, it should only require librsvg and a shell. Works on dash and doesn't do anything advanced so I'd reckon almost any sh compatible shell can run it. #!/bin/sh
WIDTH='1920px'
HEIGHT='1080px'
OUTPUTS=''
[ -n "$2" ] && WIDTH="$2"
[ -n "$3" ] && HEIGHT="$3"
[ -n "$4" ] && OUTPUTS="$4"
[ -f "$1" ] && rsvg-convert "$1" --width $WIDTH --height $HEIGHT | swww img $([ -n "$OUTPUTS"] && echo "--outputs $OUTPUTS") - Feel free to use it and make it your own |
Gnome now delivers their wallpapers in SVG and JXL formats; it would be nice if swww supported both... :) |
No description provided.
The text was updated successfully, but these errors were encountered: