aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/ThemeChanger.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-08 00:36:12 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-08 00:36:12 -0500
commit7e057020a428ba234e1557d17d26ec28fedb250f (patch)
tree266323ba3b35b062561b79a9336eddfdfa8c8429 /config/hypr/scripts/ThemeChanger.sh
parentd83d96dca71885f363fa9b70a32084bfe3219a69 (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-xconfig/hypr/scripts/ThemeChanger.sh5
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 \
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage