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

Global enable doesn't work for GTK #278

Closed
willbush opened this issue Jul 6, 2024 · 3 comments
Closed

Global enable doesn't work for GTK #278

willbush opened this issue Jul 6, 2024 · 3 comments

Comments

@willbush
Copy link

willbush commented Jul 6, 2024

The global catppuccin.enable = true; (I have here) doesn't work for gtk:

~/.config/gtk-4.0
❯ ls -l
total 0
lrwxrwxrwx 1 will users 91 Jul  5 21:59 settings.ini -> /nix/store/lp5d15bq3xz9wdwyhd6w4m7gfzpzhsqm-home-manager-files/.config/gtk-4.0/settings.ini

After changing putting explicit: gtk.catppuccin.enable = true; in home-manager:

~/.config/gtk-4.0
❯ sudo nixos-rebuild switch --flake '/home/will/code/system/#blazar'
warning: Git tree '/home/will/code/system' is dirty
building the system configuration...
warning: Git tree '/home/will/code/system' is dirty
trace: warning: will profile: `gtk.catppuccin.enable` and `gtk.catppuccin.gnomeShellTheme` are deprecated and will be removed in a future release.

The upstream port has been archived and support will no longer be provided.
Please see https://github.com/catppuccin/gtk/issues/262

activating the configuration...
setting up /etc...
reloading user units for will...
restarting sysinit-reactivation.target
restarting the following units: home-manager-will.service
the following new units were started: libvirtd.service

~/.config/gtk-4.0
❯ ls -l
total 0
lrwxrwxrwx 1 will users 85 Jul  5 22:02 assets -> /nix/store/33x2c3m1nppkcaw2zjjhw0l5qih0ma6y-home-manager-files/.config/gtk-4.0/assets
lrwxrwxrwx 1 will users 86 Jul  5 22:02 gtk.css -> /nix/store/33x2c3m1nppkcaw2zjjhw0l5qih0ma6y-home-manager-files/.config/gtk-4.0/gtk.css
lrwxrwxrwx 1 will users 91 Jul  5 22:02 gtk-dark.css -> /nix/store/33x2c3m1nppkcaw2zjjhw0l5qih0ma6y-home-manager-files/.config/gtk-4.0/gtk-dark.css
lrwxrwxrwx 1 will users 91 Jul  5 22:02 settings.ini -> /nix/store/33x2c3m1nppkcaw2zjjhw0l5qih0ma6y-home-manager-files/.config/gtk-4.0/settings.ini

~/.config/gtk-4.0

How do I migrate away from deprecated usage?

trace: warning: will profile: `gtk.catppuccin.enable` and `gtk.catppuccin.gnomeShellTheme` are deprecated and will be removed in a future release.
@vdbe
Copy link
Contributor

vdbe commented Jul 6, 2024

catppuccin/gtk is archived while it does still work for now once it breaks it will be removed which is why there is a deprecation message.

@willbush
Copy link
Author

willbush commented Jul 6, 2024

@vdbe Thanks. I wondering what people are replacing the GTK theme with. I found some discussion here and here., but the entire https://github.com/GradienceTeam org is archived.

@getchoo
Copy link
Member

getchoo commented Jul 7, 2024

The global catppuccin.enable = true; (I have here) doesn't work for gtk

this is intended -- since as it's deprecated, i would rather not have people automatically opt-in to it nowadays

How do I migrate away from deprecated usage?

there is no official migration path. you seem to have found some of the previous discussion above, but with gradience gone now...yeah, i'm honestly not sure of a good official or unofficial path now :/

in any case: as this is not a bug, closing as WONTFIX

@getchoo getchoo closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2024
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

3 participants