pywal16-libadwaita
pywal16-libadwaita copied to clipboard
Live reload?
I'm checking out your templates (only for gradience for now). Themes looks cool - 0 complains.
Are you planning to add a build-in functionality to live reload themes? I'm changing a sceme and them, apply it, and then i need to reopen an app (pkill nautilus, in my case) for theme to be applied.
Maybe there's a way to reload live using xsettingsd? I heard wpgtk use something like that. But, from my experience it wont work on nautilus anyway)))
wpgtk just tries to use the gnome settings daemon, xfce settings daemon and xsettingsd
https://github.com/deviantfero/wpgtk/blob/141fe3dc10578a74508f3952779225360ba1eda6/wpgtk/data/reload.py#L48-L126
my plan is to deprecate the templates and lean heavily into the python scripts, build-gradience.py already works and i need to retake work on build-kvantum.py doing the same type of replace done in adw-gtk2-colorizer with the latest version of kvlibadwaita
that way only build-gradience depends on pywal directly, the others are "hooked" on a bootstrapping like process and every required theme is built from the gradience preset (kvantum, steam, discord).
as for managing the different scripts and reloading i have another project on the works for that, still not ready to use anywhere ouside my machine tho...
Great! I will keep an eye on this project :)
I slightly modified your script for personal use:
#!/usr/bin/env bash
source "$HOME/.cache/wallust/colors.sh"
~/nixos/packages/pywal-sixteen/result/bin/wal -i $wallpaper -s --cols16
mkdir -p ~/.config/presets/user
cp ~/.cache/wal/colors-gradience.json ~/.config/presets/user/colors-gradience.json
gradience-cli apply -n pywal
mkdir -p "${HOME}"/.config/Kvantum/pywal
cp "${HOME}"/.cache/wal/pywal.kvconfig "${HOME}"/.config/Kvantum/pywal/pywal.kvconfig
cp "${HOME}"/.cache/wal/pywal.svg "${HOME}"/.config/Kvantum/pywal/pywal.svg
kvantummanager --set "pywal"
And here is a pywal16 theme applied to nautilus and kvantum :)
speaking of the mostrous script to glue together a lot of stuff.... https://github.com/eylles/elthemer it is terrible and not ready to use anywhere but my machine yet, tho it can be retrofitted with enough elbow grease...