Centralize role emojis: Witness 👁→🦉, Deacon 🦉→🐺
Added centralized emoji constants in internal/constants/constants.go for easy customization. Updated all files that hardcoded role emojis to use the new constants. Changes: - Witness emoji: 👁 (eye) → 🦉 (owl) - less creepy, matches visual identity - Deacon emoji: 🦉 (owl) → 🐺 (wolf) - matches hierarchy prompt (wolf in engine room) - Added RoleEmoji() helper function for string-based lookups - Maintained backwards compatibility with legacy role names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Steve Yegge
parent
1e53cd78a6
commit
721b4ec1dd
@@ -581,13 +581,19 @@ func (t *Tmux) ApplyTheme(session string, theme Theme) error {
|
||||
}
|
||||
|
||||
// roleIcons maps role names to display icons for the status bar.
|
||||
// Uses centralized emojis from constants package.
|
||||
// Includes legacy keys ("coordinator", "health-check") for backwards compatibility.
|
||||
var roleIcons = map[string]string{
|
||||
"coordinator": "🎩", // Mayor
|
||||
"health-check": "🦉", // Deacon
|
||||
"witness": "👁",
|
||||
"refinery": "🏭",
|
||||
"crew": "👷",
|
||||
"polecat": "😺",
|
||||
// Standard role names (from constants)
|
||||
constants.RoleMayor: constants.EmojiMayor,
|
||||
constants.RoleDeacon: constants.EmojiDeacon,
|
||||
constants.RoleWitness: constants.EmojiWitness,
|
||||
constants.RoleRefinery: constants.EmojiRefinery,
|
||||
constants.RoleCrew: constants.EmojiCrew,
|
||||
constants.RolePolecat: constants.EmojiPolecat,
|
||||
// Legacy names (for backwards compatibility)
|
||||
"coordinator": constants.EmojiMayor,
|
||||
"health-check": constants.EmojiDeacon,
|
||||
}
|
||||
|
||||
// SetStatusFormat configures the left side of the status bar.
|
||||
|
||||
Reference in New Issue
Block a user