Both install through the lazy mise wrappers (npm:dimcode and npm:@moonshot-ai/kimi-code), preinstalled on new machines and migrated onto existing ones unless preinstalls were removed, and each gets a menu entry in both places: under Setup > Defaults > Agent as a default-agent choice, and under Install > AI for installing without changing the default. The launch spellings come from each CLI's actual flags — bare dim is the TUI and `dim exec` the one-shot, kimi runs full-auto as `kimi --auto` with `--prompt` as its one-shot. The Install > AI entries are guarded by `mise where`, since the preinstalled stub would otherwise read as installed. The menu marks are the Kimi simpleicon and Dim's traced from its app icon, since upstream publishes no monochrome SVG.
36 lines
1.0 KiB
Bash
Executable File
36 lines
1.0 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 \
|
|
~/.local/bin/dim ~/.local/bin/kimi
|
|
|
|
omarchy-pkg-drop \
|
|
aether \
|
|
cliamp \
|
|
libreoffice-fresh \
|
|
xournalpp \
|
|
pinta \
|
|
obsidian \
|
|
obs-studio \
|
|
kdenlive \
|
|
moonlight-qt \
|
|
lazydocker \
|
|
omacut \
|
|
omacalc \
|
|
omawrite
|
|
fi
|