Signed, Omacom's PDF signing app, takes Xournal++'s place in the base install and the preinstall set, so Remove and Install Preinstalls cover it too. A migration installs it on existing machines, unless their owner has removed the preinstalls; Xournal++ stays on machines that already have it. The Filling out PDFs chapter now walks through Signed, the GUIs chapter introduces it, the setup tip points to it, and the unused Xournal++ config is gone. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.5 KiB
Bash
Executable File
47 lines
1.5 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Remove preinstalled Omarchy applications (web apps, TUIs, and selected packages).
|
|
|
|
if gum confirm "Are you sure you want to remove all preinstalled web apps, TUI wrappers, and desktop applications?"; then
|
|
echo -e "Removing preinstalled Omarchy applications...\n"
|
|
|
|
omarchy-webapp-remove-all
|
|
omarchy-tui-remove-all
|
|
|
|
mkdir -p ~/.local/state/omarchy
|
|
touch ~/.local/state/omarchy/preinstalls-removed
|
|
hyprctl reload
|
|
|
|
# Remove mise stubs
|
|
rm -f ~/.local/bin/codex ~/.local/bin/claude ~/.local/bin/agy ~/.local/bin/copilot \
|
|
~/.local/bin/gh ~/.local/bin/opencode ~/.local/bin/playwright ~/.local/bin/playwright-cli ~/.local/bin/pi \
|
|
~/.local/bin/omp ~/.local/bin/ori ~/.local/bin/grok ~/.local/bin/crush ~/.local/bin/ghui ~/.local/bin/hunk
|
|
|
|
# Cursor's own installer links ~/.local/bin/cursor-agent as well, so only
|
|
# the mise wrapper omarchy-mise-install wrote is a preinstall.
|
|
if [[ -f ~/.local/bin/cursor-agent && ! -L ~/.local/bin/cursor-agent ]] &&
|
|
grep -Eq '^mise use -g .*"cursor-agent"' ~/.local/bin/cursor-agent; then
|
|
rm -f ~/.local/bin/cursor-agent
|
|
fi
|
|
|
|
# Preserve a user-managed Muse launcher at the same path.
|
|
if [[ -f ~/.local/bin/muse && ! -L ~/.local/bin/muse ]] &&
|
|
grep -Eq '^mise use -g .*"http:muse\[' ~/.local/bin/muse; then
|
|
rm -f ~/.local/bin/muse
|
|
fi
|
|
|
|
omarchy-pkg-drop \
|
|
aether \
|
|
cliamp \
|
|
libreoffice-fresh \
|
|
pinta \
|
|
obsidian \
|
|
moonlight-qt \
|
|
omacut \
|
|
monologue \
|
|
omacalc \
|
|
omawrite \
|
|
hype \
|
|
signed
|
|
fi
|