remove(stylix): favors matugen

This commit is contained in:
kenji
2025-12-30 19:42:42 -06:00
parent 6eef6108c4
commit 475c870c37
10 changed files with 191 additions and 343 deletions
+3
View File
@@ -2,5 +2,8 @@
{
programs.hyprlock = {
enable = true;
extraConfig = ''
source = ~/.config/hypr/hyprlock-colors.conf
'';
};
}
+12
View File
@@ -34,3 +34,15 @@ input_path = "~/.config/matugen/templates/cava"
output_path = "~/.config/cava/config"
post_hook = "pkill -USR1 cava"
[templates.gtk3]
input_path = "~/.config/matugen/templates/gtk3"
output_path = "~/.config/gtk-3.0/colors.css"
[templates.gtk4]
input_path = "~/.config/matugen/templates/gtk4"
output_path = "~/.config/gtk-4.0/colors.css"
[templates.hyprlock]
input_path = "~/.config/matugen/templates/hyprlock"
output_path = "~/.config/hypr/hyprlock-colors.conf"
+15
View File
@@ -16,6 +16,21 @@
recursive = true;
};
# GTK theming with adw-gtk3 and Matugen colors
gtk = {
enable = true;
theme = {
name = "adw-gtk3-dark";
package = pkgs.adw-gtk3;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
gtk3.extraCss = ''@import url("colors.css");'';
gtk4.extraCss = ''@import url("colors.css");'';
};
programs.ghostty.settings.theme = "matugen";
programs.starship.enable = true;
wayland.windowManager.hyprland.settings.source = ["./matugen.conf"];
+78
View File
@@ -0,0 +1,78 @@
@define-color accent_color {{colors.primary.default.hex}};
@define-color accent_bg_color {{colors.primary.default.hex}};
@define-color accent_fg_color {{colors.on_primary.default.hex}};
@define-color destructive_color {{colors.error.default.hex}};
@define-color destructive_bg_color {{colors.error.default.hex}};
@define-color destructive_fg_color {{colors.on_error.default.hex}};
@define-color success_color {{colors.tertiary.default.hex}};
@define-color success_bg_color {{colors.tertiary.default.hex}};
@define-color success_fg_color {{colors.on_tertiary.default.hex}};
@define-color warning_color {{colors.secondary.default.hex}};
@define-color warning_bg_color {{colors.secondary.default.hex}};
@define-color warning_fg_color {{colors.on_secondary.default.hex}};
@define-color error_color {{colors.error.default.hex}};
@define-color error_bg_color {{colors.error.default.hex}};
@define-color error_fg_color {{colors.on_error.default.hex}};
@define-color window_bg_color {{colors.surface.default.hex}};
@define-color window_fg_color {{colors.on_surface.default.hex}};
@define-color view_bg_color {{colors.surface_container.default.hex}};
@define-color view_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_bg_color {{colors.surface_container.default.hex}};
@define-color headerbar_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_border_color transparent;
@define-color headerbar_backdrop_color {{colors.surface.default.hex}};
@define-color headerbar_shade_color rgba(0, 0, 0, 0.07);
@define-color card_bg_color {{colors.surface_container_low.default.hex}};
@define-color card_fg_color {{colors.on_surface.default.hex}};
@define-color card_shade_color rgba(0, 0, 0, 0.07);
@define-color dialog_bg_color {{colors.surface_container_high.default.hex}};
@define-color dialog_fg_color {{colors.on_surface.default.hex}};
@define-color popover_bg_color {{colors.surface_container.default.hex}};
@define-color popover_fg_color {{colors.on_surface.default.hex}};
@define-color shade_color rgba(0, 0, 0, 0.07);
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);
@define-color blue_1 {{colors.primary.default.hex}};
@define-color blue_2 {{colors.primary.default.hex}};
@define-color blue_3 {{colors.primary.default.hex}};
@define-color blue_4 {{colors.primary.default.hex}};
@define-color blue_5 {{colors.primary.default.hex}};
@define-color green_1 {{colors.tertiary.default.hex}};
@define-color green_2 {{colors.tertiary.default.hex}};
@define-color green_3 {{colors.tertiary.default.hex}};
@define-color green_4 {{colors.tertiary.default.hex}};
@define-color green_5 {{colors.tertiary.default.hex}};
@define-color yellow_1 {{colors.secondary.default.hex}};
@define-color yellow_2 {{colors.secondary.default.hex}};
@define-color yellow_3 {{colors.secondary.default.hex}};
@define-color yellow_4 {{colors.secondary.default.hex}};
@define-color yellow_5 {{colors.secondary.default.hex}};
@define-color orange_1 {{colors.secondary.default.hex}};
@define-color orange_2 {{colors.secondary.default.hex}};
@define-color orange_3 {{colors.secondary.default.hex}};
@define-color orange_4 {{colors.secondary.default.hex}};
@define-color orange_5 {{colors.secondary.default.hex}};
@define-color red_1 {{colors.error.default.hex}};
@define-color red_2 {{colors.error.default.hex}};
@define-color red_3 {{colors.error.default.hex}};
@define-color red_4 {{colors.error.default.hex}};
@define-color red_5 {{colors.error.default.hex}};
@define-color purple_1 {{colors.tertiary.default.hex}};
@define-color purple_2 {{colors.tertiary.default.hex}};
@define-color purple_3 {{colors.tertiary.default.hex}};
@define-color purple_4 {{colors.tertiary.default.hex}};
@define-color purple_5 {{colors.tertiary.default.hex}};
@define-color brown_1 {{colors.surface_variant.default.hex}};
@define-color brown_2 {{colors.surface_variant.default.hex}};
@define-color brown_3 {{colors.surface_variant.default.hex}};
@define-color brown_4 {{colors.surface_variant.default.hex}};
@define-color brown_5 {{colors.surface_variant.default.hex}};
@define-color light_1 {{colors.surface_bright.default.hex}};
@define-color light_2 {{colors.surface.default.hex}};
@define-color light_3 {{colors.surface_dim.default.hex}};
@define-color light_4 {{colors.surface_container.default.hex}};
@define-color light_5 {{colors.surface_container_high.default.hex}};
@define-color dark_1 {{colors.surface_dim.default.hex}};
@define-color dark_2 {{colors.surface.default.hex}};
@define-color dark_3 {{colors.surface_container.default.hex}};
@define-color dark_4 {{colors.surface_container_high.default.hex}};
@define-color dark_5 {{colors.surface_container_highest.default.hex}};
+78
View File
@@ -0,0 +1,78 @@
@define-color accent_color {{colors.primary.default.hex}};
@define-color accent_bg_color {{colors.primary.default.hex}};
@define-color accent_fg_color {{colors.on_primary.default.hex}};
@define-color destructive_color {{colors.error.default.hex}};
@define-color destructive_bg_color {{colors.error.default.hex}};
@define-color destructive_fg_color {{colors.on_error.default.hex}};
@define-color success_color {{colors.tertiary.default.hex}};
@define-color success_bg_color {{colors.tertiary.default.hex}};
@define-color success_fg_color {{colors.on_tertiary.default.hex}};
@define-color warning_color {{colors.secondary.default.hex}};
@define-color warning_bg_color {{colors.secondary.default.hex}};
@define-color warning_fg_color {{colors.on_secondary.default.hex}};
@define-color error_color {{colors.error.default.hex}};
@define-color error_bg_color {{colors.error.default.hex}};
@define-color error_fg_color {{colors.on_error.default.hex}};
@define-color window_bg_color {{colors.surface.default.hex}};
@define-color window_fg_color {{colors.on_surface.default.hex}};
@define-color view_bg_color {{colors.surface_container.default.hex}};
@define-color view_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_bg_color {{colors.surface_container.default.hex}};
@define-color headerbar_fg_color {{colors.on_surface.default.hex}};
@define-color headerbar_border_color transparent;
@define-color headerbar_backdrop_color {{colors.surface.default.hex}};
@define-color headerbar_shade_color rgba(0, 0, 0, 0.07);
@define-color card_bg_color {{colors.surface_container_low.default.hex}};
@define-color card_fg_color {{colors.on_surface.default.hex}};
@define-color card_shade_color rgba(0, 0, 0, 0.07);
@define-color dialog_bg_color {{colors.surface_container_high.default.hex}};
@define-color dialog_fg_color {{colors.on_surface.default.hex}};
@define-color popover_bg_color {{colors.surface_container.default.hex}};
@define-color popover_fg_color {{colors.on_surface.default.hex}};
@define-color shade_color rgba(0, 0, 0, 0.07);
@define-color scrollbar_outline_color rgba(0, 0, 0, 0.5);
@define-color blue_1 {{colors.primary.default.hex}};
@define-color blue_2 {{colors.primary.default.hex}};
@define-color blue_3 {{colors.primary.default.hex}};
@define-color blue_4 {{colors.primary.default.hex}};
@define-color blue_5 {{colors.primary.default.hex}};
@define-color green_1 {{colors.tertiary.default.hex}};
@define-color green_2 {{colors.tertiary.default.hex}};
@define-color green_3 {{colors.tertiary.default.hex}};
@define-color green_4 {{colors.tertiary.default.hex}};
@define-color green_5 {{colors.tertiary.default.hex}};
@define-color yellow_1 {{colors.secondary.default.hex}};
@define-color yellow_2 {{colors.secondary.default.hex}};
@define-color yellow_3 {{colors.secondary.default.hex}};
@define-color yellow_4 {{colors.secondary.default.hex}};
@define-color yellow_5 {{colors.secondary.default.hex}};
@define-color orange_1 {{colors.secondary.default.hex}};
@define-color orange_2 {{colors.secondary.default.hex}};
@define-color orange_3 {{colors.secondary.default.hex}};
@define-color orange_4 {{colors.secondary.default.hex}};
@define-color orange_5 {{colors.secondary.default.hex}};
@define-color red_1 {{colors.error.default.hex}};
@define-color red_2 {{colors.error.default.hex}};
@define-color red_3 {{colors.error.default.hex}};
@define-color red_4 {{colors.error.default.hex}};
@define-color red_5 {{colors.error.default.hex}};
@define-color purple_1 {{colors.tertiary.default.hex}};
@define-color purple_2 {{colors.tertiary.default.hex}};
@define-color purple_3 {{colors.tertiary.default.hex}};
@define-color purple_4 {{colors.tertiary.default.hex}};
@define-color purple_5 {{colors.tertiary.default.hex}};
@define-color brown_1 {{colors.surface_variant.default.hex}};
@define-color brown_2 {{colors.surface_variant.default.hex}};
@define-color brown_3 {{colors.surface_variant.default.hex}};
@define-color brown_4 {{colors.surface_variant.default.hex}};
@define-color brown_5 {{colors.surface_variant.default.hex}};
@define-color light_1 {{colors.surface_bright.default.hex}};
@define-color light_2 {{colors.surface.default.hex}};
@define-color light_3 {{colors.surface_dim.default.hex}};
@define-color light_4 {{colors.surface_container.default.hex}};
@define-color light_5 {{colors.surface_container_high.default.hex}};
@define-color dark_1 {{colors.surface_dim.default.hex}};
@define-color dark_2 {{colors.surface.default.hex}};
@define-color dark_3 {{colors.surface_container.default.hex}};
@define-color dark_4 {{colors.surface_container_high.default.hex}};
@define-color dark_5 {{colors.surface_container_highest.default.hex}};
+4
View File
@@ -0,0 +1,4 @@
$image = {{image}}
<* for name, value in colors *>
${{name}} = rgba({{value.default.hex_stripped}}ff)
<* endfor *>
-39
View File
@@ -1,39 +0,0 @@
{
pkgs,
inputs,
myConfig,
lib,
...
}: {
imports = [
inputs.stylix.homeModules.stylix
];
stylix = {
autoEnable = false;
targets = {
firefox = {
enable = false;
colorTheme.enable = true;
profileNames = [
"hakase"
];
};
hyprpaper.enable = true;
hyprlock.enable = true;
gtk.enable = true;
};
enable = true;
# autoEnable = false;
image = ../../assets/Wallpapers/${myConfig.hyprland.wallpaper};
polarity = "dark";
# base16Scheme = lib.mkDefault {
# generator = "vibrant";
# };
iconTheme = {
enable = true;
package = pkgs.papirus-icon-theme; # The package to install
dark = "Papirus-Dark"; # The theme name for dark mode
light = "Papirus-Light"; # The theme name for light mode
};
};
}
Generated
+1 -297
View File
@@ -33,74 +33,6 @@
"type": "github"
}
},
"base16": {
"inputs": {
"fromYaml": "fromYaml"
},
"locked": {
"lastModified": 1755819240,
"narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
"owner": "SenchoPens",
"repo": "base16.nix",
"rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
"type": "github"
},
"original": {
"owner": "SenchoPens",
"repo": "base16.nix",
"type": "github"
}
},
"base16-fish": {
"flake": false,
"locked": {
"lastModified": 1765809053,
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
"owner": "tomyun",
"repo": "base16-fish",
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github"
},
"original": {
"owner": "tomyun",
"repo": "base16-fish",
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
"type": "github"
}
},
"base16-helix": {
"flake": false,
"locked": {
"lastModified": 1760703920,
"narHash": "sha256-m82fGUYns4uHd+ZTdoLX2vlHikzwzdu2s2rYM2bNwzw=",
"owner": "tinted-theming",
"repo": "base16-helix",
"rev": "d646af9b7d14bff08824538164af99d0c521b185",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-helix",
"type": "github"
}
},
"base16-vim": {
"flake": false,
"locked": {
"lastModified": 1732806396,
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
"owner": "tinted-theming",
"repo": "base16-vim",
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-vim",
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
"type": "github"
}
},
"chaotic": {
"inputs": {
"flake-schemas": "flake-schemas",
@@ -170,22 +102,6 @@
"type": "gitlab"
}
},
"firefox-gnome-theme": {
"flake": false,
"locked": {
"lastModified": 1764724327,
"narHash": "sha256-OkFLrD3pFR952TrjQi1+Vdj604KLcMnkpa7lkW7XskI=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"rev": "66b7c635763d8e6eb86bd766de5a1e1fbfcc1047",
"type": "github"
},
"original": {
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@@ -263,27 +179,6 @@
"type": "github"
}
},
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"stylix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1763759067,
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-schemas": {
"locked": {
"lastModified": 1721999734,
@@ -298,22 +193,6 @@
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.5.tar.gz"
}
},
"fromYaml": {
"flake": false,
"locked": {
"lastModified": 1731966426,
"narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
"owner": "SenchoPens",
"repo": "fromYaml",
"rev": "106af9e2f715e2d828df706c386a685698f3223b",
"type": "github"
},
"original": {
"owner": "SenchoPens",
"repo": "fromYaml",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
@@ -336,25 +215,6 @@
"type": "github"
}
},
"gnome-shell": {
"flake": false,
"locked": {
"host": "gitlab.gnome.org",
"lastModified": 1764524476,
"narHash": "sha256-bTmNn3Q4tMQ0J/P0O5BfTQwqEnCiQIzOGef9/aqAZvk=",
"owner": "GNOME",
"repo": "gnome-shell",
"rev": "c0e1ad9f0f703fd0519033b8f46c3267aab51a22",
"type": "gitlab"
},
"original": {
"host": "gitlab.gnome.org",
"owner": "GNOME",
"ref": "gnome-49",
"repo": "gnome-shell",
"type": "gitlab"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -875,31 +735,6 @@
"type": "github"
}
},
"nur_2": {
"inputs": {
"flake-parts": [
"stylix",
"flake-parts"
],
"nixpkgs": [
"stylix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1764773531,
"narHash": "sha256-mCBl7MD1WZ7yCG6bR9MmpPO2VydpNkWFgnslJRIT1YU=",
"owner": "nix-community",
"repo": "NUR",
"rev": "1d9616689e98beded059ad0384b9951e967a17fa",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
@@ -933,7 +768,6 @@
"nixpkgs": "nixpkgs_2",
"nur": "nur",
"sops-nix": "sops-nix",
"stylix": "stylix",
"textfox": "textfox",
"walker": "walker"
}
@@ -997,40 +831,6 @@
"type": "github"
}
},
"stylix": {
"inputs": {
"base16": "base16",
"base16-fish": "base16-fish",
"base16-helix": "base16-helix",
"base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme",
"flake-parts": "flake-parts_4",
"gnome-shell": "gnome-shell",
"nixpkgs": [
"nixpkgs"
],
"nur": "nur_2",
"systems": "systems_4",
"tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes",
"tinted-tmux": "tinted-tmux",
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1766603026,
"narHash": "sha256-J2DDdRqSU4w9NNgkMfmMeaLIof5PXtS9RG7y6ckDvQE=",
"owner": "nix-community",
"repo": "stylix",
"rev": "551df12ee3ebac52c5712058bd97fd9faa4c3430",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "stylix",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1689347949,
@@ -1077,21 +877,6 @@
}
},
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@@ -1127,87 +912,6 @@
"type": "github"
}
},
"tinted-foot": {
"flake": false,
"locked": {
"lastModified": 1726913040,
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-foot",
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
"type": "github"
}
},
"tinted-kitty": {
"flake": false,
"locked": {
"lastModified": 1735730497,
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
"owner": "tinted-theming",
"repo": "tinted-kitty",
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-kitty",
"type": "github"
}
},
"tinted-schemes": {
"flake": false,
"locked": {
"lastModified": 1763914658,
"narHash": "sha256-Hju0WtMf3iForxtOwXqGp3Ynipo0EYx1AqMKLPp9BJw=",
"owner": "tinted-theming",
"repo": "schemes",
"rev": "0f6be815d258e435c9b137befe5ef4ff24bea32c",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "schemes",
"type": "github"
}
},
"tinted-tmux": {
"flake": false,
"locked": {
"lastModified": 1764465359,
"narHash": "sha256-lbSVPqLEk2SqMrnpvWuKYGCaAlfWFMA6MVmcOFJjdjE=",
"owner": "tinted-theming",
"repo": "tinted-tmux",
"rev": "edf89a780e239263cc691a987721f786ddc4f6aa",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "tinted-tmux",
"type": "github"
}
},
"tinted-zed": {
"flake": false,
"locked": {
"lastModified": 1764464512,
"narHash": "sha256-rCD/pAhkMdCx6blsFwxIyvBJbPZZ1oL2sVFrH07lmqg=",
"owner": "tinted-theming",
"repo": "base16-zed",
"rev": "907dbba5fb8cf69ebfd90b00813418a412d0a29a",
"type": "github"
},
"original": {
"owner": "tinted-theming",
"repo": "base16-zed",
"type": "github"
}
},
"walker": {
"inputs": {
"elephant": [
@@ -1216,7 +920,7 @@
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_5"
"systems": "systems_4"
},
"locked": {
"lastModified": 1766324177,
-6
View File
@@ -36,11 +36,6 @@
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
walker = {
url = "github:abenz1267/walker";
inputs.nixpkgs.follows = "nixpkgs";
@@ -52,7 +47,6 @@
self,
nixpkgs,
home-manager,
stylix,
nixovim,
chaotic,
sops-nix,
-1
View File
@@ -1,6 +1,5 @@
{
imports = [
../../apps/stylix
../../apps/matugen
];
}