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>
36 lines
1.1 KiB
Bash
Executable File
36 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Restore the preinstalled Omarchy applications (web apps, TUIs, and selected packages).
|
|
# omarchy:requires-sudo=true
|
|
|
|
if gum confirm "Are you sure you want to restore all preinstalled web apps, TUI wrappers, and desktop applications?"; then
|
|
echo -e "Restoring preinstalled Omarchy applications...\n"
|
|
|
|
# Recreates the shipped .desktop launchers (web apps and TUIs) and the mise stubs
|
|
# that back claude, gh, opencode, and the rest of the agents
|
|
omarchy-refresh-applications
|
|
|
|
# Mirrors the list in omarchy-remove-preinstalls; both track omarchy-base.packages
|
|
if ! omarchy-pkg-add \
|
|
aether \
|
|
cliamp \
|
|
libreoffice-fresh \
|
|
pinta \
|
|
obsidian \
|
|
moonlight-qt \
|
|
omacut \
|
|
monologue \
|
|
omacalc \
|
|
omawrite \
|
|
hype \
|
|
signed; then
|
|
echo -e "\nPreinstalls are still marked as removed. Fix the errors above and try again."
|
|
exit 1
|
|
fi
|
|
|
|
# Last, so a failure above leaves the opt-out intact rather than restoring
|
|
# keybindings for apps that never came back
|
|
rm -f ~/.local/state/omarchy/preinstalls-removed
|
|
hyprctl reload
|
|
fi
|