arch-linux-gui / alg-welcome

Welcome app for ALG written in Go & Typescript
2 stars 1 forks source link

[KDE] theme switching reverts, dark theme not applicable #6

Open demonkillerr opened 3 weeks ago

demonkillerr commented 3 weeks ago

Basically during system wide dark theme, the app displays light theme. But the larger issue at hand is theme switching is not happening at all.

https://github.com/arch-linux-gui/alg-welcome/blob/a35073110e1e86d97d524d555fbc32b5b7ef764f/app.go#L74

was changed in [this] (https://github.com/arch-linux-gui/alg-welcome/commit/a35073110e1e86d97d524d555fbc32b5b7ef764f) commit. This is to keep the path same. However, since the theme code is stored in ~/.local/share/aurorae/theme/ it is difficult for the app to determine the applied theme name, as shown below:

https://github.com/arch-linux-gui/alg-welcome/blob/a35073110e1e86d97d524d555fbc32b5b7ef764f/app.go#L226-L229

demonkillerr commented 3 weeks ago

solved in fa87fdcefb41a86f35bfb158d0816f7a6cef732a