From c40e39708b32e72f64ee4abe68d5d210351685a4 Mon Sep 17 00:00:00 2001 From: onelocked Date: Mon, 10 Nov 2025 14:22:16 +0000 Subject: [PATCH] Fixing Matugen Ghostty posthook Ensure that the command runs in a Bash shell (fixes for people running nu shell) pgrep -f matches the entire command line, so it catches variants like .ghostty-wrapped. --- Services/Theming/TemplateRegistry.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Theming/TemplateRegistry.qml b/Services/Theming/TemplateRegistry.qml index 0ebf7836..ebb67a01 100644 --- a/Services/Theming/TemplateRegistry.qml +++ b/Services/Theming/TemplateRegistry.qml @@ -21,7 +21,7 @@ Singleton { "name": "Ghostty", "matugenPath": "Terminal/ghostty", "outputPath": "~/.config/ghostty/themes/noctalia", - "postHook": "pgrep -x ghostty >/dev/null && pkill -SIGUSR2 ghostty; true" + "postHook": "bash -c 'pgrep -f ghostty >/dev/null && pkill -SIGUSR2 ghostty || true'" }, { "id": "kitty", "name": "Kitty",