diff --git a/bin/omarchy-refresh-waybar b/bin/omarchy-refresh-waybar index af2c1d2..7a54140 100755 --- a/bin/omarchy-refresh-waybar +++ b/bin/omarchy-refresh-waybar @@ -6,5 +6,6 @@ if gum confirm "Refresh Waybar config? This will replace your current settings w cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null # Restart waybar - pkill -SIGUSR2 waybar + pkill waybar + setsid waybar >/dev/null 2>&1 & fi diff --git a/bin/omarchy-theme-set b/bin/omarchy-theme-set index 46a5c35..2998fb0 100755 --- a/bin/omarchy-theme-set +++ b/bin/omarchy-theme-set @@ -29,7 +29,8 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR" touch "$HOME/.config/alacritty/alacritty.toml" # Restart components to apply new theme -pkill -SIGUSR2 waybar +pkill waybar +setsid waybar >/dev/null 2>&1 & makoctl reload hyprctl reload diff --git a/migrations/1751225707.sh b/migrations/1751225707.sh index 0a62f9d..c1e8acf 100644 --- a/migrations/1751225707.sh +++ b/migrations/1751225707.sh @@ -1,3 +1,4 @@ echo "Fixing persistent workspaces in waybar config" sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config -pkill -SIGUSR2 waybar +pkill waybar +setsid waybar >/dev/null 2>&1 &