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.
This commit is contained in:
onelocked
2025-11-10 14:22:16 +00:00
parent 4801716c36
commit c40e39708b
+1 -1
View File
@@ -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",