Files
omarchycn/migrations/1784672586.sh
T
David Heinemeier HanssonandClaude Fable 5 c992cdff10 Restart the shell unconditionally after every update
Updates routinely replace the shell's QML, and a stale process can
lazy-load new files into old code. Restarting at the end of every
omarchy update removes the need for migrations to restart the shell
or defer one with the restart-shell-required marker: the login-time
migration path already runs a fresh shell that hot-reloads shell.json.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 16:52:02 -05:00

9 lines
377 B
Bash

echo "Switch to the Omarchy quickshell-git build so shell restarts wait for instance exit"
if ! omarchy-pkg-present quickshell-git; then
# One transaction with --ask 4 so pacman accepts replacing the conflicting
# quickshell package in place; packages depending on quickshell stay
# satisfied through the provides.
sudo pacman -S --noconfirm --ask 4 quickshell-git
fi