refactor: themeing

This commit is contained in:
Nydragon 2024-06-13 23:07:40 +09:00
parent 6bc3dcbbfa
commit 9d097679fd
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
2 changed files with 29 additions and 31 deletions

View file

@ -5,7 +5,7 @@
pkgs, pkgs,
... ...
}: }:
{ rec {
imports = [ imports = [
./firefox ./firefox
./fish ./fish
@ -17,8 +17,6 @@
./vscodium ./vscodium
]; ];
xdg.configFile."gtk-4.0/gtk.css".source = "${pkgs.catppuccin-gtk}/share/themes/Catppuccin-Frappe-Standard-Blue-Dark/gtk-4.0/gtk.css";
dconf = { dconf = {
enable = true; enable = true;
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark"; settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
@ -30,37 +28,29 @@
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
qt.enable = true;
qt.platformTheme.name = "gtk"; qt.platformTheme.name = "gtk";
gtk = gtk = {
let enable = true;
pointer = { theme = {
name = "Catppuccin-Frappe-Lavender-Cursors"; name = "Catppuccin-Frappe-Compact-Lavender-Dark";
package = pkgs.catppuccin-cursors.frappeLavender; package = pkgs.catppuccin-gtk.override {
size = 32; accents = [ "lavender" ];
}; size = "compact";
in variant = "frappe";
{
enable = true;
theme = {
name = "Catppuccin-Frappe-Compact-Lavender-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "lavender" ];
size = "compact";
variant = "frappe";
};
};
cursorTheme = pointer;
iconTheme = {
name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
package = pkgs.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "frappe";
};
}; };
}; };
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "frappe";
};
};
cursorTheme = with home.pointerCursor; {
inherit name package size;
};
};
programs.direnv = { programs.direnv = {
enable = true; enable = true;
@ -72,6 +62,14 @@
inherit username; inherit username;
inherit homeDirectory; inherit homeDirectory;
pointerCursor = {
gtk.enable = true;
x11.enable = true;
name = "Catppuccin-Frappe-Lavender-Cursors";
package = pkgs.catppuccin-cursors.frappeLavender;
size = 32;
};
packages = packages =
let let
pk = with pkgs; [ pk = with pkgs; [

View file

@ -151,7 +151,7 @@
}; };
seat = { seat = {
"*" = { "*" = {
xcursor_theme = "Catppuccin-Frappe-Lavender-Cursors 32"; xcursor_theme = "${config.home.pointerCursor.name} ${toString config.home.pointerCursor.size}";
keyboard_grouping = "none"; keyboard_grouping = "none";
}; };
}; };