dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.23k stars 313 forks source link

Set colorscheme based on the current wallpaper #602

Closed ConstantMan closed 3 years ago

ConstantMan commented 3 years ago

I don't know if there is already a request like that but i want to make wal change the colorscheme based on the current wallpaper ,at first i tried piping gsettings get org.gnome.desktop.background picture-uri into wal but it needs a lot of cutitng because it begins with 'file:///home etc.

Since i use variety it would be much easier piping wallpaper.jpg.txt into wal but for some reason it doesn't accept it, also i can't use wal -in to set the colorscheme but not change the wallpaper Any ideas ?

So ti finally worked with wal -i "$(echo $(cat /home/arch_user/.config/variety/wallpaper/wallpaper.jpg.txt))" But it changes the wallpaper to although it's already set

And i doesn't let me use -n