remove(stylix): favors matugen
This commit is contained in:
@@ -2,5 +2,8 @@
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
source = ~/.config/hypr/hyprlock-colors.conf
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"];
|
||||
|
||||
@@ -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}};
|
||||
@@ -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}};
|
||||
@@ -0,0 +1,4 @@
|
||||
$image = {{image}}
|
||||
<* for name, value in colors *>
|
||||
${{name}} = rgba({{value.default.hex_stripped}}ff)
|
||||
<* endfor *>
|
||||
@@ -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
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user