# Catppuccin Mocha Theme Soothing Catppuccin Mocha theme statusline with 26 pastel colors, Powerline separators, and modular segments for Git, model info, and token tracking. --- ## Metadata **Title:** Catppuccin Mocha Theme **Category:** statuslines **Author:** JSONbored **Added:** October 2025 **Tags:** catppuccin, mocha, pastel, theme, powerline, aesthetics **URL:** https://claudepro.directory/statuslines/catppuccin-mocha-theme ## Overview Soothing Catppuccin Mocha theme statusline with 26 pastel colors, Powerline separators, and modular segments for Git, model info, and token tracking. ## Content #!/usr/bin/env bash CATPPUCCIN MOCHA THEME STATUSLINE FOR CLAUDE CODE OFFICIAL CATPPUCCIN MOCHA COLOR PALETTE (26 COLORS) HTTPS://GITHUB.COM/CATPPUCCIN/CATPPUCCIN READ JSON FROM STDIN read -r input EXTRACT VALUES model=$(echo "$input" | jq -r '.model // "unknown"') dir=$(echo "$input" | jq -r '.workspace.path // "~"' | sed "s|$HOME|~|") tokens=$(echo "$input" | jq -r '.session.totalTokens // 0') git_branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "") CATPPUCCIN MOCHA PALETTE (-COLOR APPROXIMATIONS) BASE COLORS BASE="\[48;5;235m" # #1e1e2e MANTLE="\[48;5;234m" # # CRUST="\[48;5;233m" # #11111b TEXT COLORS TEXT="\[38;5;205m" # #cdd6f4 SUBTEXT1="\[38;5;189m" # #bac2de SUBTEXT0="\[38;5;146m" # #a6adc8 ACCENT COLORS LAVENDER="\[48;5;183m" # #b4befe BLUE="\[48;5;117m" # #89b4fa SAPPHIRE="\[48;5;116m" # #74c7ec SKY="\[48;5;153m" # #89dceb TEAL="\[48;5;152m" # #94e2d5 GREEN="\[48;5;151m" # #a6e3a1 YELLOW="\[48;5;229m" # #f9e2af PEACH="\[48;5;216m" # #fab387 MARRON="\[48;5;217m" # #eba0ac RED="\[48;5;210m" # #f38ba8 MAUVE="\[48;5;183m" # #cba6f7 PINK="\[48;5;218m" # #f5c2e7 FLAMINGO="\[48;5;217m" # #f2cdcd ROSEWATER="\[48;5;224m"# #f5e0dc FOREGROUND VERSIONS LAVENDER_FG="\[38;5;183m" BLUE_FG="\[38;5;117m" SAPPHIRE_FG="\[38;5;116m" TEAL_FG="\[38;5;152m" PEACH_FG="\[38;5;216m" RESET="\[0m" SEP="\ue0b0" # Powerline separator BUILD STATUSLINE statusline="" MODEL SEGMENT (LAVENDER) statusline+="${LAVENDER}${RESET}${TEXT} ${model} ${RESET}" statusline+="${LAVENDER_FG}${SEP}${RESET}" DIRECTORY SEGMENT (BLUE) statusline+=" ${BLUE}${RESET}${TEXT} ${dir} ${RESET}" statusline+="${BLUE_FG}${SEP}${RESET}" GIT BRANCH SEGMENT (TEAL) - ONLY IF IN GIT REPO if [ -n "$git_branch" ]; then statusline+=" ${TEAL}${RESET}${TEXT} ${git_branch} ${RESET}" statusline+="${TEAL_FG}${SEP}${RESET}" fi TOKEN COUNT SEGMENT (PEACH) statusline+=" ${PEACH}${RESET}${TEXT} ${tokens} ${RESET}" statusline+="${PEACH_FG}${SEP}${RESET}" echo -e "$statusline" KEY FEATURES ? Official Catppuccin Mocha color palette with 26 eye-candy colors ? Powerline-style separators for seamless segment transitions ? Modular segments: model, directory, Git branch, token count ? Pastel aesthetics optimized for long coding sessions ? Git integration with branch display ? Nerd Font icons for visual clarity ? Conditional rendering (Git segment only in repositories) ? -color terminal support for accurate palette reproduction CONFIGURATION Format: bash Refresh Interval: 500ms Position: left Color Scheme: catppuccin-mocha USE CASES ? Developers already using Catppuccin theme in editor/terminal ? Users preferring soothing pastel aesthetics over harsh neon ? Teams standardizing on Catppuccin design system ? Visual continuity across Neovim, tmux, and Claude Code ? Reducing eye strain during extended AI-assisted coding sessions TROUBLESHOOTING 1) Colors look washed out or incorrect compared to official palette Solution: Verify terminal supports colors with 'tput colors' (should return ). Enable true color if available: export COLORTERM=truecolor. Check terminal theme doesn't override ANSI colors. 2) Nerd Font icons showing as boxes or missing glyphs Solution: Install Catppuccin-compatible Nerd Font from nerdfonts.com. Recommended: JetBrains Mono Nerd Font, FiraCode Nerd Font. Configure terminal to use installed font in preferences. 3) Git branch not displaying even when in repository Solution: Check Git installed: git --version. Verify you're in Git repo: git status. Ensure script has permission to execute git commands. Test manually: git rev-parse --abbrev-ref HEAD 4) Powerline separators misaligned or overlapping text Solution: Verify Nerd Font properly installed with Powerline glyphs (U+E0B0-U+E0B3). Test separator: echo -e '\ue0b0'. Disable font ligatures if enabled. Increase terminal line spacing if needed. 5) Statusline disappears or flickers on refresh Solution: Increase refreshInterval to 1000ms in configuration. Check script permissions: chmod +x statusline.sh. Verify jq installed: jq --version. Test script manually with sample JSON input. TECHNICAL DETAILS Documentation: https://github.com/catppuccin/catppuccin PREVIEW claude-sonnet-4.5 ~/projects main 12, --- Source: Claude Pro Directory Website: https://claudepro.directory URL: https://claudepro.directory/statuslines/catppuccin-mocha-theme This content is optimized for Large Language Models (LLMs). For full formatting and interactive features, visit the website.