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,
...
}:
{
rec {
imports = [
./firefox
./fish
@ -17,8 +17,6 @@
./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 = {
enable = true;
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
@ -30,18 +28,9 @@
services.blueman-applet.enable = true;
qt.enable = true;
qt.platformTheme.name = "gtk";
gtk =
let
pointer = {
name = "Catppuccin-Frappe-Lavender-Cursors";
package = pkgs.catppuccin-cursors.frappeLavender;
size = 32;
};
in
{
gtk = {
enable = true;
theme = {
name = "Catppuccin-Frappe-Compact-Lavender-Dark";
@ -51,15 +40,16 @@
variant = "frappe";
};
};
cursorTheme = pointer;
iconTheme = {
name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
package = pkgs.catppuccin-papirus-folders.override {
accent = "lavender";
flavor = "frappe";
};
};
cursorTheme = with home.pointerCursor; {
inherit name package size;
};
};
programs.direnv = {
@ -72,6 +62,14 @@
inherit username;
inherit homeDirectory;
pointerCursor = {
gtk.enable = true;
x11.enable = true;
name = "Catppuccin-Frappe-Lavender-Cursors";
package = pkgs.catppuccin-cursors.frappeLavender;
size = 32;
};
packages =
let
pk = with pkgs; [

View file

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