From e39e9e0d39caeb1ee5db7fcbf8dc7a558da42a5b Mon Sep 17 00:00:00 2001 From: Aiser <2912778691@qq.com> Date: Tue, 21 Oct 2025 18:27:23 +0800 Subject: [PATCH 1/2] Matugen: Add post_hook for ghostty and kitty --- Services/MatugenTemplates.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Services/MatugenTemplates.qml b/Services/MatugenTemplates.qml index 19066213..a34ecd8f 100644 --- a/Services/MatugenTemplates.qml +++ b/Services/MatugenTemplates.qml @@ -97,11 +97,13 @@ Singleton { }, { "name": "ghostty", "path": "Terminal/ghostty", - "output": "~/.config/ghostty/themes/noctalia" + "output": "~/.config/ghostty/themes/noctalia", + "post_hook": "pkill -SIGUSR2 ghostty" }, { "name": "kitty", "path": "Terminal/kitty.conf", - "output": "~/.config/kitty/themes/noctalia.conf" + "output": "~/.config/kitty/themes/noctalia.conf", + "post_hook": "kitten themes --reload-in=all noctalia" }] terminals.forEach(function (terminal) { From 743aff74ef14e8d2b8bce148084b91439764cd7d Mon Sep 17 00:00:00 2001 From: Aiser <2912778691@qq.com> Date: Tue, 21 Oct 2025 19:27:12 +0800 Subject: [PATCH 2/2] Matugen: Add post_hook for ghostty --- Services/MatugenTemplates.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Services/MatugenTemplates.qml b/Services/MatugenTemplates.qml index a34ecd8f..8740aaf8 100644 --- a/Services/MatugenTemplates.qml +++ b/Services/MatugenTemplates.qml @@ -102,8 +102,7 @@ Singleton { }, { "name": "kitty", "path": "Terminal/kitty.conf", - "output": "~/.config/kitty/themes/noctalia.conf", - "post_hook": "kitten themes --reload-in=all noctalia" + "output": "~/.config/kitty/themes/noctalia.conf" }] terminals.forEach(function (terminal) {