This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/home/theme/gtk.nix

49 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2024-03-24 16:15:15 +01:00
{ config, pkgs, ... }:
{
# default cursor
home.pointerCursor = {
name = "Bibata-Modern-Ice";
size = 24;
package = pkgs.bibata-cursors;
};
# dconf settings
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-theme = "Catppuccin-Macchiato-Standard-Sky-Dark";
cursor-theme = config.home.pointerCursor.name;
cursor-size = config.home.pointerCursor.size;
};
};
# gtk
gtk = {
enable = true;
# theme
theme = {
2024-04-03 23:26:46 +02:00
name = "Catppuccin-Macchiato-Standard-Sky-Dark";
2024-03-24 16:15:15 +01:00
package = pkgs.catppuccin-gtk.override {
accents = [ "sky" ];
size = "standard";
variant = "macchiato";
};
};
# cursor
cursorTheme = {
name = config.home.pointerCursor.name;
size = config.home.pointerCursor.size;
package = config.home.pointerCursor.package;
};
};
# xdg settings
xdg.configFile = {
2024-04-03 23:26:46 +02:00
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
2024-03-24 16:15:15 +01:00
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
};
}