Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vesktop theme not dynamically updating #3

Closed
vipansegrouw opened this issue Jan 5, 2025 · 5 comments
Closed

Vesktop theme not dynamically updating #3

vipansegrouw opened this issue Jan 5, 2025 · 5 comments

Comments

@vipansegrouw
Copy link

Using themecord with pywal and vesktop, the theme is indeed updating under the hood, but it is not reflected until I turn the theme off and on again inside vesktop

Do I perhaps need to update my script with some refresh for vesktop somehow?

Happy to share more info if needed.

@danihek
Copy link
Owner

danihek commented Jan 6, 2025

are you running themecord right after using pywal? If no just add it at the end of your script and it should work

@vipansegrouw
Copy link
Author

My script is the following

#!/bin/bash
wal -i ~/Pictures/Wallpapers/
~/themecord -p

and it's evidently updating the theme itsself since toggling the theme on and off from the vesktop ui changes the colours to the new scheme, so it's quite perplexing!

@danihek
Copy link
Owner

danihek commented Jan 7, 2025

Hmm, its quite odd - I use vesktop myself and it's updating without issues with all hellwal, pywal and wallust.

I'm curious, did you copy the script to home folder? or you just misstyped

~/themecord -p

to

themecord -p

because if you installed it normally, for example from aur you can just run it like normal program.

Also do you have similar output?

dh » themecord
[SUCCESS] Vencord DETECTED (path: /home/dh/.config/Vencord)
[SUCCESS] vesktop DETECTED (path: /home/dh/.config/vesktop)
[INFO] Themecord found in Vencord
[INFO] Themecord found in vesktop
[INFO] discord-colors.css path: /home/dh/.cache/hellwal/discord-colors.css

Even if... you said that toggling theme switch on/off changes it so I dont really know... vesktop should pick it up automatically....

@vipansegrouw
Copy link
Author

Yeah it's in my home folder as I installed manually, i might move it to usr bin soon but I don't think it's related to this problem

the output when I run it is the same as yours except for the vencord line

[FAILURE] Vencord not DETECTED (path: /home/apotheotic/.config/Vencord)
[SUCCESS] vesktop DETECTED (path: /home/apotheotic/.config/vesktop)
[INFO] Themecord found in vesktop
[INFO] discord-colors.css path: /home/apotheotic/.cache/wal/discord-colors.css

I suppose it could be an issue on the vesktop side of things as opposed to this script - I'll see what I can dig up there in the meantime!

@vipansegrouw
Copy link
Author

I am happy and surprised to report that it has randomly started working - I changed nothing. Perhaps all that was needed was a restart.

I'll close the thread - thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants