Follows the ChatGPT flow: the Install > AI entry runs omarchy-install-ai-claude in a floating terminal, which installs the claude-desktop package (Anthropic's Linux desktop beta, repacked from their Debian repo in omarchy-pkgs) and opens the app. Remove > AI drops the package along with ~/.config/Claude and ~/.cache/Claude, the Electron directories the desktop app owns, while keeping ~/.claude, ~/.claude.json, and ~/.cache/claude-cli-nodejs: those belong to the Claude Code CLI, which ships in its own package and survives this removal, just as the ChatGPT remover keeps the Codex CLI. The menu mark is a new U+E90E glyph in the Omarchy icon font, from Simple Icons' Claude mark, so it reaches desktops through the next omarchy-settings release. Co-Authored-By: Fable 5 <noreply@anthropic.com> Co-Authored-By: Codex XHigh <noreply@openai.com>
20 lines
595 B
Bash
Executable File
20 lines
595 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Remove the Claude desktop app along with its configuration and caches.
|
|
# omarchy:requires-sudo=true
|
|
|
|
# -u so an unset HOME is an error rather than a set of rm -rf paths rooted at /.
|
|
set -euo pipefail
|
|
|
|
omarchy-pkg-drop claude-desktop
|
|
|
|
# Not ~/.claude, ~/.claude.json, or ~/.cache/claude-cli-nodejs: those belong
|
|
# to the Claude Code CLI, which ships in a different package that survives
|
|
# this one. The desktop app keeps its state in its own Electron directories.
|
|
rm -rf \
|
|
"$HOME/.config/Claude" \
|
|
"$HOME/.cache/Claude"
|
|
|
|
echo ""
|
|
echo "Claude has been removed."
|