Closed poperigby closed 3 years ago
Can you provide a detailed setup so I can reproduce ?
I would need the following :
config.toml
fileYeah, sure.
Icon theme: Papirus
Theme location: /usr/share/icons/Papirus
Contents of config.toml
:
icons = "Papirus"
I also tried Adwaita and Breeze icons.
@PopeRigby, I have tried to reproduce without success.
I have updated the debug trace so we can see what is happening here. Can you update onagre, run in debug mode and send the debug trace here :
cargo install --git https://github.com/oknozor/onagre
RUST_LOG=onagre=debug onagre &> trace
Sure. Here you go: https://paste.ubuntu.com/p/QSrdfhWXp9/
@PopeRigby seems your config is not loaded at all, the config load error should now print to stderr. You can update again and you should be able to troubleshot this without debug mode. Let me know how it goes.
Ok, it gives me this error:
Unable to load config file : Config format error : missing field `modes`
Fixed in 77f0663aeaa2b2ca7d1e78593402b976eef0d46c, you can update and icons will work :)
Thanks!
Weird, still doesn't work, but Onagre does seem to be finding the icon theme now:
[2020-11-27T22:39:34Z DEBUG onagre::freedesktop::icons] building icon finder for theme "Papirus"
[2020-11-27T22:39:34Z DEBUG onagre::freedesktop::icons] Initializing icon finder with icon theme path "/usr/share/icons/Papirus"
[2020-11-27T22:39:34Z DEBUG onagre::freedesktop::icons] Initializing icon finder with parent/fallback icon paths ["/usr/share/icons/breeze", "/usr/share/icons/hicolor"]
What if you remove $HOME/.cache/onagre-drun
and retry ?
There we go, that fixes it. Thanks!
XDG_DATA_DIRS
is set to/usr/local/share:/usr/share
and I have multiple icon themes in both of those directories, but settingicons
to any of them in~/.config/onagre/config.toml
doesn't work.OS: Arch Linux WM: Sway