mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-05 12:42:29 +02:00
fonts.sh: obsolete. omarchy-settings installs omarchy.ttf to /usr/share/fonts/omarchy/ system-wide and the fontconfig package's post-install hook updates the cache, so copying it to ~/.local/share/ fonts and re-running fc-cache is redundant. The script was also failing because omarchy-settings explicitly removes the source path /usr/share/omarchy/config/omarchy.ttf during package install. omarchy-setup-lock: the final line was 'omarchy-shell lock status >/dev/null && echo "..."' which inherits the failed exit code when omarchy-shell can't reach a running shell (always the case during chroot install). set -e exempts cmd1 of && from triggering, but the script still returns that non-zero as its own exit code, which the install wrapper treated as a script failure. Wrap in an if/then so a failed status check doesn't poison the script's exit code.