/ de-omarchy / bin / omarchy-remove-ai-chatgpt
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
18 lines · 425 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

# omarchy:summary=Remove the ChatGPT desktop app along with its configuration and caches.
# omarchy:requires-sudo=true

set -e

omarchy-pkg-drop openai-codex-desktop

# Not ~/.cache/codex-runtimes: the Codex CLI resolves its own runtime under
# there, and it ships in a different package that survives this one.
rm -rf \
  "$HOME/.config/Codex" \
  "$HOME/.cache/Codex"

echo ""
echo "ChatGPT has been removed."