Add the Perplexity desktop app to Install > AI

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>
This commit is contained in:
authored and Spencer Bull committed 2026-09-05 09:48:03 -05:00
1 parent eb56446c42
commit fa60a8b9bf
7 files changed
+52 -3

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/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."