reujab / wallpaper.rs

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

updated gnome set fn to support dark mode #12

Closed andr35 closed 1 year ago

andr35 commented 2 years ago

Gnome 42 introduces the dark mode and the possibility to set two different wallpapers for the light (default) mode and the dark one. When the dark mode is enabled, Gnome uses the key picture-uri-dark to get the picture to use as wallpaper (instead of picture-uri).

not-my-segfault commented 2 years ago

Tested this in a crate, works beautifully on Gnome 42.3

terrarier2111 commented 2 years ago

@reujab is there any reason this can't be merged upstream? it's been a while since this was opened

bcyran commented 1 year ago

I would appreciate pulling it in as well.

LuckyTurtleDev commented 1 year ago

Does this have effect to Budgie? Looks like that this crate does not distinguishes between gnome and budgie? Does Budge use the same org.gnome.desktop.background prefix for Budgie dconf as for gnome?

LuckyTurtleDev commented 1 year ago

Their exist 2 crates now with has this fix applied and published: