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

[FEATURE REQUEST] Theming for libadwaita apps #136

Open
kun-codes opened this issue Jan 20, 2023 · 6 comments
Open

[FEATURE REQUEST] Theming for libadwaita apps #136

kun-codes opened this issue Jan 20, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@kun-codes
Copy link

Is your feature request related to a problem? Please describe.
Currently apps based on libadwaita aren't styled and they remain at the default dark or bright themes

Describe the solution you'd like
I want the themes to be synced like how it is with gtk apps

Describe alternatives you've considered
https://github.com/avanishsubbiah/material-you-theme

I have found this but I haven't tried it

@luisbocanegra
Copy link
Owner

luisbocanegra commented Jan 21, 2023

That's a gnome extension, unless there is a way to call it outside gnome shell I don't think I'll be easy or even possible to add support for it. Also, I'm not familiar at all with gnome theming in general, much less with libadwaita, sadly.

But if there is a way to do it without having to reinvent it, it'll probably be through Gradience as they offer a command-line interface.

I'll have to check if it's possible to send the current wallpaper to it or even the colors though, the other way could be making a plugin that calls kde-material-you-colors from gradience. You may also want to look at Gradience To Qt Theme Converter (haven't tried myself)

Either way it's done I would want them be as consistent as possible with each other, that is if they don't add support for qt theming before 😄 which could be an easier task

@luisbocanegra luisbocanegra added the enhancement New feature or request label Jan 21, 2023
@kun-codes
Copy link
Author

hi, can you show me how to access the gradience command line interface

@luisbocanegra
Copy link
Owner

You access it with gradience-cli this is from the main branch so I'm not sure if it's available on the stable version yet (0.3.3 on AUR doesn't have it but git version does)

@kun-codes
Copy link
Author

thanks

@kun-codes
Copy link
Author

hi, can you tell me how I can get the current wallpaper to use it in my scripts? I have built a workaround for theming libadwaita apps, but the way to get the current wallpaper is not as dependable right now

@luisbocanegra
Copy link
Owner

You could extract it from /tmp/kde-material-you-colors.json, if you're using the on_change_hook you can put there a bash script that gets it with jq, I was thinking of passing the wallpaper and some other data as arguments so they'll be available inside the hook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants