2 Commits

Author SHA1 Message Date
kenji 46c08d95ec add 2025-12-27 10:51:09 -06:00
kenji f302399b70 add: hyprland colors 2025-12-27 10:48:22 -06:00
4 changed files with 31 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[config]
reload_on_change = true
[templates.ghostty]
input_path = "~/.config/matugen/templates/ghostty"
output_path = "~/.config/ghostty/themes/matugen"
post_hook = "killall -SIGUSR2 .ghostty-wrappe"
[templates.hyprland]
input_path = "~/.config/matugen/templates/hyprland"
output_path = "~/.config/hypr/matugen.conf"
post_hook = "hyprctl reload"
+9
View File
@@ -1,9 +1,18 @@
{pkgs, ...}: {
home.packages = with pkgs; [
matugen
psmisc # for killall
];
home.file.".config/matugen/config.toml" = {
source = ./config.toml;
};
home.file.".config/matugen/templates" = {
source = ./templates;
recursive = true;
};
programs.ghostty.settings.theme = "matugen";
wayland.windowManager.hyprland.settings.extraConfig = ''source ./matugen.conf'';
}
+6
View File
@@ -0,0 +1,6 @@
background = {{colors.background.default.hex}}
foreground = {{colors.on_surface.default.hex}}
cursor-color = {{colors.on_surface.default.hex}}
cursor-text = {{colors.on_surface_variant.default.hex}}
selection-background = {{colors.secondary_fixed_dim.default.hex}}
selection-foreground = {{colors.on_secondary.default.hex}}
+4
View File
@@ -0,0 +1,4 @@
<* for name, value in colors *>
$image = {{image}}
${{name}} = rgba({{value.default.hex_stripped}}ff)
* endfor *>