2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-03-31 15:06:44 -04:00
|
|
|
options = {
|
2024-04-26 21:49:10 -04:00
|
|
|
alyraffauf.desktop.theme.enable =
|
|
|
|
lib.mkEnableOption "GTK and Qt themes.";
|
2024-03-31 15:06:44 -04:00
|
|
|
};
|
|
|
|
|
2024-04-26 21:49:10 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.desktop.theme.enable {
|
2024-03-31 15:06:44 -04:00
|
|
|
home.pointerCursor = {
|
|
|
|
gtk.enable = true;
|
|
|
|
x11.enable = true;
|
|
|
|
package = pkgs.catppuccin-cursors.frappeDark;
|
|
|
|
name = "Catppuccin-Frappe-Dark-Cursors";
|
|
|
|
size = 24;
|
|
|
|
};
|
|
|
|
|
|
|
|
qt = {
|
|
|
|
enable = true;
|
2024-04-19 07:53:37 -04:00
|
|
|
platformTheme.name = "gtk";
|
2024-04-07 16:20:08 -04:00
|
|
|
style.name = "gtk2";
|
2024-03-31 15:06:44 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
gtk = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
theme = {
|
|
|
|
package = pkgs.catppuccin-gtk.override {
|
2024-04-07 22:16:33 -04:00
|
|
|
accents = ["mauve"];
|
2024-03-31 15:06:44 -04:00
|
|
|
size = "compact";
|
|
|
|
variant = "frappe";
|
2024-04-07 22:16:33 -04:00
|
|
|
tweaks = ["normal"];
|
2024-03-31 15:06:44 -04:00
|
|
|
};
|
|
|
|
name = "Catppuccin-Frappe-Compact-Mauve-Dark";
|
|
|
|
};
|
|
|
|
|
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.catppuccin-papirus-folders.override {
|
|
|
|
flavor = "frappe";
|
|
|
|
accent = "mauve";
|
|
|
|
};
|
|
|
|
name = "Papirus-Dark";
|
|
|
|
};
|
|
|
|
|
|
|
|
font = {
|
2024-04-28 09:46:06 -04:00
|
|
|
name = "NotoSansNerdFont-Regular";
|
2024-04-07 22:16:33 -04:00
|
|
|
package = pkgs.nerdfonts.override {fonts = ["Noto"];};
|
2024-03-31 15:06:44 -04:00
|
|
|
size = 11;
|
|
|
|
};
|
|
|
|
|
2024-04-07 22:16:33 -04:00
|
|
|
gtk3.extraConfig = {gtk-application-prefer-dark-theme = 1;};
|
2024-03-31 15:06:44 -04:00
|
|
|
|
2024-04-07 22:16:33 -04:00
|
|
|
gtk4.extraConfig = {gtk-application-prefer-dark-theme = 1;};
|
2024-03-31 15:06:44 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
gtk-theme = "Catppuccin-Frappe-Compact-Mauve-Dark";
|
|
|
|
color-scheme = "prefer-dark";
|
|
|
|
cursor-theme = "Catppuccin-Frappe-Dark-Cursors";
|
|
|
|
cursor-size = 24;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|