Skip to content

Commit

Permalink
Revert "chore(home-manager): deprecate gtk module (catppuccin#206)"
Browse files Browse the repository at this point in the history
This reverts commit 4d4e7ce.
  • Loading branch information
rafaelrc7 committed Jul 2, 2024
1 parent 9eb0610 commit 21e7145
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions modules/home-manager/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ let
in
{
options.gtk.catppuccin =
ctp.mkCatppuccinOpt {
name = "gtk";
enableDefault = false;
}
ctp.mkCatppuccinOpt { name = "gtk"; }
// {
accent = ctp.mkAccentOpt "gtk";

Expand Down Expand Up @@ -107,17 +104,6 @@ in
];

config = mkMerge [
(mkIf (enable || cfg.gnomeShellTheme) {
warnings = [
''
`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
''
];
})

(mkIf enable {
gtk.theme =
let
Expand Down Expand Up @@ -182,3 +168,4 @@ in
})
];
}

0 comments on commit 21e7145

Please sign in to comment.