aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Kitty_themes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/Kitty_themes.sh')
-rwxr-xr-xconfig/hypr/scripts/Kitty_themes.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/Kitty_themes.sh b/config/hypr/scripts/Kitty_themes.sh
index c4baa729..765e3ee6 100755
--- a/config/hypr/scripts/Kitty_themes.sh
+++ b/config/hypr/scripts/Kitty_themes.sh
@@ -126,7 +126,7 @@ apply_kitty_theme_to_config() {
fi
if pidof kitty >/dev/null 2>&1; then
if command -v kitty >/dev/null 2>&1; then
- kitty @ load-config >/dev/null 2>&1 || true
+ (kitty @ load-config >/dev/null 2>&1 || true) &
fi
if [ "$apply_mode" = "apply" ] && [ "$is_wallpaper_mode" -eq 0 ] && command -v kitty >/dev/null 2>&1; then
(
@@ -229,7 +229,7 @@ while true; do
echo "$original_kitty_config_content_backup" >"$kitty_config"
sync_runtime_kitty_config
if command -v kitty >/dev/null 2>&1; then
- kitty @ load-config >/dev/null 2>&1 || true
+ (kitty @ load-config >/dev/null 2>&1 || true) &
fi
for pid_kitty in $(pidof kitty); do if [ -n "$pid_kitty" ]; then kill -SIGUSR1 "$pid_kitty"; fi; done
notify_user "$iDIR/error.png" "Preview Error" "Failed to apply $theme_to_preview_now. Reverted."
@@ -244,7 +244,7 @@ while true; do
echo "$original_kitty_config_content_backup" >"$kitty_config"
sync_runtime_kitty_config
if command -v kitty >/dev/null 2>&1; then
- kitty @ load-config >/dev/null 2>&1 || true
+ (kitty @ load-config >/dev/null 2>&1 || true) &
fi
for pid_kitty in $(pidof kitty); do if [ -n "$pid_kitty" ]; then kill -SIGUSR1 "$pid_kitty"; fi; done
break
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage