Compact status bar left side, expand mail preview to 45 chars

Left side simplified:
- Before: 🎩 [Mayor] coordinator (25+ chars)
- After:  🎩 Mayor (10 chars)
- Icon already identifies role, no need for redundancy

Right side expanded:
- status-right-length: 50 → 80
- Mail preview: 20-25 → 45 chars
- Shows more useful context at a glance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-21 23:22:00 -08:00
parent c7664344d6
commit bb8eeab324
2 changed files with 13 additions and 10 deletions

View File

@@ -99,7 +99,7 @@ func runWorkerStatusLine(rigName, polecat, crew, issue string) error {
// Mail preview
if identity != "" {
unread, subject := getMailPreview(identity, 25)
unread, subject := getMailPreview(identity, 45)
if unread > 0 {
if subject != "" {
parts = append(parts, fmt.Sprintf("\U0001F4EC %s", subject))
@@ -146,7 +146,7 @@ func runMayorStatusLine(t *tmux.Tmux) error {
rigCount := len(rigs)
// Get mayor mail with preview
unread, subject := getMailPreview("mayor/", 20)
unread, subject := getMailPreview("mayor/", 45)
// Build status
var parts []string