From 0c014eb08d15ae18625fc02dc5a38ee152743f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C3=BCchler?= Date: Thu, 14 Aug 2025 22:53:57 +0200 Subject: [PATCH] feat(setup): add conditional reload for Hyprland configuration --- setup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.sh b/setup.sh index 05c3bf5..5b4457a 100755 --- a/setup.sh +++ b/setup.sh @@ -31,3 +31,10 @@ for i in "${!MODULES[@]}"; do echo "[$STEP/$COUNT] Running $BASENAME..." source "$MODULE" done + +if pgrep -x Hyprland >/dev/null; then + echo "Reloading Hyprland config..." + hyprctl reload +else + echo "Hyprland is not running; skipping reload." +fi