-
Notifications
You must be signed in to change notification settings - Fork 41
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
Documentation for setting GTK theme #45
Comments
I've set my GTK theme here: Module is imported by the host machine: Colour scheme is set at the top of each host machine and configured for home-manager and nixos on the following lines: My code is messy, could be more functional but works for me. What have you tried so-far? |
after a while i got it to work. i forked the repo so I could change all background variants to base00... it would be nice if there were options other than just the materia theme. something like flat-remix or graphite would be nice |
I believe that's out of the current teams scope, I'm sure they would be open to a PR if someone wanted to put the work in. |
Hey, contributed functions for different theme upstreams are very welcome! Interface wise: the gtk-theme function's argument is an attrset so as to allow new arguments in the future. So feel free to add a |
Re documentation: I will look into adding a complete example for setting up GTK themes. |
I want to do the same. I just got this working thanks to @Kyesarri, although I went my own way about it. in addition, I don't like how many applications are forced to use base02 instead of base00 (border of chromium for example). Could it be fixed without a fork? |
Thanks @aspauldingcode, glad to hear my spaghetti could help someone. Interesting point about the colours used on some windows, from my digging around "02" should be used for selection backgrounds. Might be worthwhile looking into conformity between colour schemes. https://codeberg.org/kye/nixos/src/branch/master/theme.css is what I base my theming off, I think Firefox may be the same for its window background but I'll have to check exactly which it is using. @Misterio77 I've never forked a repository / sent a PR but I might take a look at what's being used across themes and try and get some further conformity. |
not everything, but all different kinds of backgrounds, titlebars, etc
…On Fri, Feb 23, 2024, 4:22 AM kel ***@***.***> wrote:
@AnotherRandomGitHubAccount
<https://github.com/AnotherRandomGitHubAccount> - Did you change all
background as per your post (including buttons, menu, text) or just the HDR?
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2SDTW43CPOATAAFRGMFFCLYU7VONAVCNFSM6AAAAABCDGLKVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGYYDQNRXHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Important: This email message, including any attachments, is intended
solely for the addressee(s), and may contain information that is
confidential or legally protected. Any use, disclosure, copying, printing,
or distribution of the information contained herein by persons other than
the designated addressee is unauthorized and may be unlawful. If you
believe that you have received this email in error, please notify the
sender immediately and delete this email and any attachments from your
system and discard of any printout thereof.
|
Added a PR: I'd like to tackle more ideas on exposing spacing, roundness, opacity or even another theme but might be out of my wheelhouse currently. See how this progresses. |
Maybe this should be a separate project from nix-colors? As far as i know
there is a gtk-nix module but it doesn't work so well and is quite dated
…On Fri, Mar 1, 2024, 3:07 AM kel ***@***.***> wrote:
Added a PR:
#48 <#48>
I'd like to tackle more ideas on exposing spacing, roundness, opacity or
even another theme but might be out of my wheelhouse currently. See how
this progresses.
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2SDTW2ESNLEWQXDM2A5ZBLYV7BDJAVCNFSM6AAAAABCDGLKVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGE4DGMBQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Important: This email message, including any attachments, is intended
solely for the addressee(s), and may contain information that is
confidential or legally protected. Any use, disclosure, copying, printing,
or distribution of the information contained herein by persons other than
the designated addressee is unauthorized and may be unlawful. If you
believe that you have received this email in error, please notify the
sender immediately and delete this email and any attachments from your
system and discard of any printout thereof.
|
After trying to find the solution myself, I've gone ahead and opened a PR which just adds to the existing example in the contributed functions section of the README. Having a full guide on how you could potentially set GTK themes would be ideal, but having this would have saved me a few hours :p |
I am trying to figure out how to use the gtk theme generation functionality, and how to make it set as the gtk theme. I've tried but can't figure out how to do this. a short example in the README.md would be very helpful. thanks
The text was updated successfully, but these errors were encountered: