From 81da3a8f6db380cb749e88278c9c7345ee363668 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lopes" Date: Tue, 30 Dec 2025 00:49:28 +0000 Subject: [PATCH] auto-reload ghostty config on matugen Change-Id: uzsqlxtqkpqpmuklumkmoyplrwovxttz --- private_dot_config/matugen/config.toml | 1 + private_dot_config/matugen/templates/ghostty-theme | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/private_dot_config/matugen/config.toml b/private_dot_config/matugen/config.toml index 5ece5a3..96bfc33 100644 --- a/private_dot_config/matugen/config.toml +++ b/private_dot_config/matugen/config.toml @@ -16,6 +16,7 @@ output_path = '~/.config/hypr/config/colors.conf' [templates.ghostty] input_path = './templates/ghostty-theme' output_path = '~/.config/ghostty/themes/matugen' +post_hook = 'pkill -SIGUSR2 ghostty' [templates.gtk3] input_path = './templates/gtk-colors.css' diff --git a/private_dot_config/matugen/templates/ghostty-theme b/private_dot_config/matugen/templates/ghostty-theme index 26e3f81..f47fb1f 100644 --- a/private_dot_config/matugen/templates/ghostty-theme +++ b/private_dot_config/matugen/templates/ghostty-theme @@ -7,7 +7,7 @@ selection-foreground = {{colors.on_secondary.default.hex}} selection-background ={{colors.secondary_fixed_dim.default.hex}} # black -palette=8={{colors.on_surface_variant.default.hex | set_lightness: -20.0}} +palette=8={{colors.on_surface_variant.default.hex | set_lightness: 60.0}} palette=0=#4c4c4c # red -- 2.43.0