Follows the T3 Code / Grok Bot flow: the Install > AI entry runs omarchy-install-and-launch, so picking it installs the perplexity package on demand and launches the app when the install finishes. Remove > AI drops the package along with the app's own config, flags file, and rpc-server runtime cache, keeping the perplexity-* caches that belong to Perplexity's other products. Like the Hermes remover, it sets -u so an unset HOME is a refusal rather than rm -rf paths rooted at /. The menu mark is a new U+E90B glyph in the Omarchy icon font, 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>
22 lines
642 B
Bash
Executable File
22 lines
642 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Remove the Perplexity 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 perplexity
|
|
|
|
# Of the perplexity-* dirs under ~/.cache, only the rpc-server runtime is the
|
|
# desktop app's own download; the rest belong to Perplexity products that
|
|
# outlive the desktop app.
|
|
rm -rf \
|
|
"$HOME/.config/Perplexity" \
|
|
"$HOME/.cache/Perplexity" \
|
|
"$HOME/.cache/perplexity-rpc-server"
|
|
rm -f "$HOME/.config/perplexity-flags.conf"
|
|
|
|
echo ""
|
|
echo "Perplexity has been removed."
|