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

# omarchy:summary=Remove T3 Code along with its configuration and workspaces.
# omarchy:requires-sudo=true

set -e

omarchy-pkg-drop t3code-bin

# T3 Code drives agents that keep their own state -- ~/.claude.json, ~/.grok,
# ~/.local/share/opencode -- and those outlive it, so only its own goes.
rm -rf \
  "$HOME/.config/t3code" \
  "$HOME/.t3"
rm -f "$HOME/.config/t3code-flags.conf"

echo ""
echo "T3 Code has been removed."