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

Any plans for an alternative to Gradience for gtk? #6

Open
hownioni opened this issue Mar 19, 2024 · 5 comments
Open

Any plans for an alternative to Gradience for gtk? #6

hownioni opened this issue Mar 19, 2024 · 5 comments

Comments

@hownioni
Copy link
Contributor

It's just very messy in my system, there were some weird quirks in the apply-theme.sh script that created an actual directory called "~" where it stored the symlinks, trying to fix that I messed up the cache folder so all the symlinks were broken, even after that, Gradience couldn't open the file even though it did exist and after then it wouldn't open because even though it said it was trying to fallback to adwaita it still tried using the pywal.json template, and that again made it throw an error because it couldn't find the file, Gradience remained in this state so I just gave up and uninstalled it and flatpak.

@eylles
Copy link
Owner

eylles commented May 9, 2024

well, to be honest i began to use gradience because it served my purposes which were to write something simple using the pywal json as a base, and to be honest it is more reliable and easier to use than other similar projects.

tho i do find gradience to be "too big" and do "too much" for my purposes, so for a while i've been thinking of taking gradience and stripping the parts that i don't use (manual theme creator, gui, monet integration) and have a "simple" (as simple as it can get tho) cli program to take in a json preset and spit out the correct css to every place needed (that includes the flatpaks if they exist on the system) but that is not on my plans for the near future.

first i want to have the whole suite of scripts (gradience json preset, kvantum theme from gradience preset, steam theme, icon theme (this one i just have to adapt a script i got), cursor theme (same here, tho i want to colorize another cursor theme), chrome theme (same here), telegram theme (there are 2 implementations of something i can use as base, one in bash another in rust, i may give up and just use the bash one), discord theme) working okay enough and then i'll begin looking into it.

@eylles
Copy link
Owner

eylles commented May 22, 2024

been taking a closer look at what gradience does, if one does NOT have any flatpak stuff on their system whatsoever i can cobble out a very simple solution to take any gradience preset and just outputting all the data formatted to the gtk3 and gtk4 css files.

for supporting themeing of flatpak i still have not taken a look tho.

@eylles
Copy link
Owner

eylles commented Dec 4, 2024

okay, i will eventually take the time to maintain gradience, on the meantime i'm cooking a "very simple" script that will take a gradience template and spit the defines to both the gtk3 and gtk4 directories, rn i'm struggling with the css stuff inside the json but will fix that tomorrow and push.

@eylles
Copy link
Owner

eylles commented Dec 7, 2024

why do i even bother with saying stuff like "tomorrow" .....

anyway @hownioni there is now a script that can provide the basic of taking in a gradience .json preset and spitting the gtk.css files to the correct locations:

https://github.com/eylles/pywal16-libadwaita/blob/master/scripts/gradience2css.py

@eylles
Copy link
Owner

eylles commented Dec 7, 2024

Ah yes i should probably mention this: lassekongo83/adw-gtk3#269 (comment)

That links other resources and repos of tangential relevance.

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