Add support for KDE Plasma DE with fix when the script worked only once
I added support for KDE Plasma in a similar way as in #2 . But I'm still creating this pull request, as I fixed the issue mentioned in the said pull request, where the script would set the wallpaper only once.
I was able to find that KDE probably caches the wallpaper, so when the script downloads new and sets it, KDE ignores it or uses a cached one. I was able to get rid of this by creating a blank file, setting it as wallpaper temporarily and then setting the new wallpaper.
I also deleted the build directory, as it should be in .gitignore IMO.
Hope this works for you as well.
Don't worry about the other commits. I left config for my pc and subreddits, some leftover files from vscode and build files. The fix itself is 8b08bc0
@roudra-das
Hi, i saw your comment in the other pull request. I have a working version here, try it out.
I just added a check where if user deleted the blank file or this script was used before the patch it now creates the blank file (it checked for the wallpaper image path not for the blank file path)