add: hyprland colors
This commit is contained in:
@@ -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-colors.conf"
|
||||
output_path = "~/.config/hypr/hyprland-colors.conf"
|
||||
post_hook = "hyprctl reload"
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
{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";
|
||||
}
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<* for name, value in colors *>
|
||||
$image = {{image}}
|
||||
${{name}} = rgba({{value.default.hex_stripped}}ff)
|
||||
* endfor *>
|
||||
Reference in New Issue
Block a user