commit 2e2c0b32e0dac467ad55b797c40057ced381891c
parent a643b89614f3bf0eeeace5d3d133c853e6dffdc3
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sun, 21 Dec 2025 11:14:04 +0100
feat: reload helix config automatically
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/helix-switch-theme.sh b/helix-switch-theme.sh
@@ -58,6 +58,7 @@ if [ "$target" == "dark" ]; then
if [[ $is_dark != 1 ]]; then
set_theme "${dark_theme}"
echo "[✓] Switched helix to dark!"
+ pkill -USR1 hx
else
echo "[-] Did not switch helix theme."
fi
@@ -65,6 +66,7 @@ else
if [[ $is_light != 1 ]]; then
set_theme "${light_theme}"
echo "[✓] Switched helix to light!"
+ pkill -USR1 hx
else
echo "[-] Did not switch helix theme."
fi