reujab / wallpaper.rs

A cross-platform Rust library for getting and setting desktop wallpapers
The Unlicense
96 stars 24 forks source link

publish v4.0.0 to crates.io #23

Open s-aditya-k opened 1 year ago

s-aditya-k commented 1 year ago

Currently for gnome dark mode, I am having to point to this git repository - it would be pretty helpful if you pushed 4.0.0 to crates.io :)

jjant commented 11 months ago

@reujab Kind request for this also :)

Septias commented 10 months ago

@reujab +1

LuckyTurtleDev commented 9 months ago

v4.0.0 is broken, if complied for windows and macos. So publishing is currently not possible.

I have a fork of this crates at version 4.0.0 with fix applied and removed from_url feature publish on crates.io: more-wallpapers-fallback But it is only intended for internal use at the more-wallpapers crate.

Septias commented 9 months ago

So more-wallpapers is the more advanced version of wallpapers? Might as well switch to it then :joy:

LuckyTurtleDev commented 9 months ago

So more-wallpapers is the more advanced version of wallpapers? Might as well switch to it then 😂

Basically yes. It does additional support getting the current mode and setting wallpapers per screen.

However it does not downloading downloading images from the internet, since I think this is not the task of a wallpaper setting lib.

piratedsoftware commented 7 months ago

just implement it yourself for dark

gsettings set org.gnome.desktop.background picture-uri-dark /path/image.jpg

You can create a function to check the graphical environment, if it is Unity, Gnome or Cinnamon, use gsettings

Septias commented 7 months ago

There is a fork that has this fix on wallpaper = {git="https://github.com/reujab/wallpaper.rs.git", rev="20270387cb6533364830d18e8f69bb5b5f01ad43" } I suppose. At least that is wat I depend on.