Skip to content

About

Unofficial community Omarchy 4.0+ bar island & Inbox Zero panel for T3 Code (not affiliated with or sanctioned by T3 Tools).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

T3 Code for Omarchy (poitee.t3code)

An unofficial, independent community Omarchy 4.0+ Quickshell bar island and Inbox Zero panel for T3 Code — built around speed, keyboard-first triage, phase semantics, multi-account usage availability, and native desktop app continuity.

Disclaimer: This is an independent, unofficial community plugin. It is not affiliated with, endorsed by, sponsored by, or sanctioned by T3 Tools, Ping Labs, or the T3 Code project. "T3 Code" and related names are the property of their respective owners.

T3 Code for Omarchy — Bar island, Inbox Zero panel, and Fleet & Multi-Account Availability drawer

What it does

  • Live Bar Island (even while closed): custom geometric T3 vector mark + compact phase-colored counts (Approval amber, Input violet, Failed coral-red, Working sky, Ready emerald). Clean T3 mark alone at Inbox Zero. Watches local SQLite WAL updates and refreshes linked fleet environments over multiplexed SSH (~350–550 ms warm across an 8-VM fleet).
  • Inbox Zero Panel: prioritizes Needs You → Working → Ready to Review, with Snoozed, Settled, and Fleet & Tools folded cleanly away by default. Shows an honest T3 Code is offline card with a one-click launcher when stopped.
  • Calm at rest, expand on hover:
    • Thread rows show title (with 󰐃 when pinned), CI-colored #PR link pill, active Orchestrator V2 subagent badge (↳ N), machine, and age.
    • Needs approval and Needs input rows include a crisp 1-line preview of the pending command or agent question.
    • Hovering or keyboard-selecting a row smoothly reveals inline actions with instant optimistic UI (Approve / Deny, Stop, Resume, Snooze (1h / 3h / 18:00 / Tomorrow / Mon), Wake, Settle / Reopen, Peek, Reply).
  • Desktop App First + Direct PR Links: clicking any thread or linked machine jumps straight into the native T3 Code desktop app (t3code:// deep links + Hyprland 0.57+ Lua & classic focuswindow). Clicking a #PR pill opens the pull request directly in your browser.
  • Multi-Model & Worktree Launcher (n): start a new local thread with selectable ready providers (Claude, Codex, Grok, Antigravity, Pi), auto-generated titles, and an optional isolated --worktree toggle — or hand off via Draft in App.
  • Multi-Account Usage Availability: tucked inside Fleet & Tools, reading T3 Code's cached subscription limits and configured usageLimitSources (such as CLIProxy / HTTP quota hubs) across local and linked fleet hosts — deduplicates shared accounts automatically, flags multi-account providers (×2 · 82% / 17%), ignores expired reset windows, shows live remaining availability %, and breaks down per-account windows + reset countdowns on hover without exposing raw email addresses.
  • Opt-In Desktop Attention Alerts: fires a markup-escaped, deduped notify-send alert when a background thread transitions to Approval, Input, or Failed while T3 Code is not the focused Hyprland window.
  • T3 Spy Pig Telemetry Toggle: a subtle footer pill (Full stop. / Full send, tooltip Tele Full Stop / Tele Full Send) that sets T3CODE_TELEMETRY_ENABLED=false and DO_NOT_TRACK=1 across ~/.t3/service.env, ~/.config/environment.d/90-t3code-telemetry.conf, and systemctl --user.

Requirements & External Dependencies

  • Omarchy 4.0+ with Quickshell plugin support
  • T3 Code desktop app + t3 CLI
  • Python 3 (stdlib only — zero third-party packages) and sqlite3 (both ship with Omarchy)
  • Optional: key-based ssh (BatchMode=yes) to linked T3 Code environments for cross-machine sync and remote RPC actions
  • Optional: notify-send for opt-in desktop attention alerts

Permissions & Privacy

  • No sudo or pkexec is required.
  • Reads local $T3CODE_HOME/userdata/statev2.sqlite strictly in read-only mode (?mode=ro).
  • Stores its fleet cache and optional SSH multiplex sockets strictly inside an owner-only (0700) private directory under $XDG_RUNTIME_DIR/poitee-t3code (or $XDG_CACHE_HOME/poitee-t3code when XDG_RUNTIME_DIR is unset — never shared /tmp), using O_NOFOLLOW, O_CREAT | O_EXCL, 0600 creation permissions, atomic os.replace, and ownership/regular-file verification on reads.
  • Only writes to $T3CODE_HOME/service.env, $XDG_CONFIG_HOME/environment.d/90-t3code-telemetry.conf, and your user session environment (systemctl --user set-environment / unset-environment) when you explicitly click the telemetry toggle.
  • Never exposes peer-link secrets, auth tokens, or raw account email addresses in JSON output or UI.

Install

omarchy plugin add https://github.com/poitee/omarchy-t3code --enable
omarchy-restart-shell

Or manually from a local checkout:

cp -r . ~/.config/omarchy/plugins/poitee.t3code
omarchy plugin validate ~/.config/omarchy/plugins/poitee.t3code
omarchy bar put poitee.t3code --section right
omarchy-restart-shell

(Note: omarchy-restart-shell is recommended after QML updates because hot reload can keep a previously mounted bar widget instance in memory.)

Remove / Uninstall

omarchy plugin remove poitee.t3code
omarchy-restart-shell

Or if installed manually:

omarchy bar remove poitee.t3code
rm -rf ~/.config/omarchy/plugins/poitee.t3code
omarchy-restart-shell

Optional cleanup if you previously disabled T3 telemetry through the toggle:

rm -f ~/.config/environment.d/90-t3code-telemetry.conf
systemctl --user unset-environment T3CODE_TELEMETRY_ENABLED DO_NOT_TRACK

Controls & Keyboard Shortcuts

Input Action
Bar left-click Toggle Inbox panel
Bar right-click Focus or launch T3 Code desktop app
Bar middle-click Refresh & sync linked environments
↑ / ↓ or j / k Move thread cursor
Enter Open selected thread in T3 Code desktop app
a / d Approve / Deny selected pending approval
x Stop selected working agent
e Settle / Reopen selected thread
z Snooze selected thread (1h, 3h, 18:00, Tomorrow, Mon)
w Wake snoozed thread
r Inline quick reply (local & linked fleet threads)
p Peek latest 3 messages
P Pin / Unpin selected thread
/ Open instant thread filter
n New local thread (Provider, Worktree, Start or Draft in App)
s Toggle Settled shelf
f Focus / launch T3 Code desktop app
g Refresh & sync fleet
Esc Close active input / filter / panel

Optional Hyprland keybinding

omarchy-shell poitee.t3code toggle

Bar Settings (~/.config/omarchy/shell.json)

  • colorMode: "T3" (default vivid T3 phase colors) or "Theme" (Omarchy theme accents)
  • syncFleet: true (default) or false (disable SSH fleet sync for single-machine setups)
  • notifyOnAttention: true (default) or false (desktop alerts when background agents need you)
omarchy bar set poitee.t3code colorMode Theme
omarchy bar set poitee.t3code syncFleet false
omarchy bar set poitee.t3code notifyOnAttention false

End-to-End Testing

The E2E suite is fully self-contained and reproducible on any machine (isolated temporary $T3CODE_HOME, fixture SQLite database, mock HTTP/WebSocket RPC server, and CLI shims — never touches your real T3 Code data):

python3 tests/run_e2e.py          # full portable E2E (security + fixture RPC + QML renders)
python3 tests/run_e2e.py --live   # also runs read-only live-host smoke checks

License

MIT — see LICENSE.

About

Unofficial community Omarchy 4.0+ bar island & Inbox Zero panel for T3 Code (not affiliated with or sanctioned by T3 Tools).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages