diff options
| author | Don Williams <don.e.williams@gmail.com> | 2026-01-08 00:36:12 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2026-01-08 00:36:12 -0500 |
| commit | 7e057020a428ba234e1557d17d26ec28fedb250f (patch) | |
| tree | 266323ba3b35b062561b79a9336eddfdfa8c8429 /config/hypr/scripts/ThemeChanger.sh | |
| parent | d83d96dca71885f363fa9b70a32084bfe3219a69 (diff) | |
Adding reload config to ghostty on theme/wallpaper change
On branch development
Your branch is up to date with 'origin/development'.
Changes to be committed:
modified: config/hypr/scripts/ThemeChanger.sh
modified: config/hypr/scripts/WallustSwww.sh
Diffstat (limited to 'config/hypr/scripts/ThemeChanger.sh')
| -rwxr-xr-x | config/hypr/scripts/ThemeChanger.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/hypr/scripts/ThemeChanger.sh b/config/hypr/scripts/ThemeChanger.sh index b42ec8da..4c814f2c 100755 --- a/config/hypr/scripts/ThemeChanger.sh +++ b/config/hypr/scripts/ThemeChanger.sh @@ -126,6 +126,11 @@ if wallust theme -- "${choice}"; then if pidof kitty >/dev/null; then for pid in $(pidof kitty); do kill -SIGUSR1 "$pid" 2>/dev/null || true; done fi + + # Ask ghostty to reload its config so the updated wallust.conf is applied + if pidof ghostty >/dev/null; then + for pid in $(pidof ghostty); do kill -SIGUSR2 "$pid" 2>/dev/null || true; done + fi else have_notify && notify-send -u critical -a ThemeChanger \ -h string:x-dunst-stack-tag:themechanger \ |
