doki-theme-vscode icon indicating copy to clipboard operation
doki-theme-vscode copied to clipboard

Background not changing and Sticker not showing

Open ZaZa101101 opened this issue 3 years ago • 6 comments

I installed Doki theme on Linux Mint 20.3 Cinnamon and I selected a theme but for some reason the background image is not changing when I change between themes, even after reloading the screen and given the permissions that it request https://youtu.be/aq-zZJuJN3w Youtube link to a video with the issue because GitHub says it's too big to upload

ZaZa101101 avatar Jun 22 '22 17:06 ZaZa101101

Unfortunately, the VSCode API doesn't have the ability for me to detect when a color theme changes. If I could do that, then I would install the assets related to the theme.

That means you must install the assets before the background images change.

See the steps outlined in this video

https://github.com/doki-theme/doki-theme-vscode/issues/145#issuecomment-1123545372

Let me know if that works for you.

Unthrottled avatar Jun 22 '22 22:06 Unthrottled

Yes, it worked. Thanks a lot, I didn't understand why it didn't work, I had no issue before on Windows, but Linux seems to be a bit different I guess. Thanks again

ZaZa101101 avatar Jun 22 '22 23:06 ZaZa101101

I've got an idea, which may or may not work. What about adding new command menu entry like "change Doki theme", there you would have all Doki themes and the selection would set the theme and also sticker & wallpaper? It would be alternative to the native VSC theme selector.

leoshusar avatar Jul 09 '22 23:07 leoshusar

selection would set the theme

@leoshusar I like the idea, however the crux if the issue is that I cannot set the theme at the moment. If I could then I would have done something like that :)

If I get some time later, I might look into it again since they released this feature a while ago, there might be an API for setting the theme now. https://code.visualstudio.com/docs/getstarted/themes#_color-themes-from-the-marketplace

Unthrottled avatar Jul 13 '22 19:07 Unthrottled

Ah, I see. I don't have any experience with VSC API, but I found this, maybe you've seen it, but it looks like it might work.

leoshusar avatar Jul 15 '22 05:07 leoshusar

That was going to be one of the options I would pursue (updating the settings), feels hacky, but it might work.

Unthrottled avatar Jul 15 '22 10:07 Unthrottled