66 lines
3.1 KiB
Plaintext
66 lines
3.1 KiB
Plaintext
# Monochrome prompt theme — strict greyscale, no hue at all
|
|
# ------------------------------------------------------------------------------
|
|
# Theme files are NOT executed as shell scripts. load_theme() parses them
|
|
# line by line. Only the following value forms are accepted:
|
|
#
|
|
# KEY="$ColorVarName" — reference to a colour variable from disp.sh
|
|
# KEY="${ColorVarName}" — same with braces
|
|
# KEY="\e[...m" — raw ANSI escape sequence (single block)
|
|
#
|
|
# Accepted keys:
|
|
# PROMPT_COLOR_* — prompt slot colours (see profile.conf [prompt])
|
|
# Standard colour vars — Black, Blue, On_IBlack, … (overrides the palette
|
|
# from disp.sh for the whole shell session)
|
|
#
|
|
# Any unknown key, unsafe value, or shell construct will be ignored with a
|
|
# warning — theme files cannot execute code.
|
|
# ------------------------------------------------------------------------------
|
|
# All hues are silenced — colour variables are remapped to greyscale ANSI
|
|
# codes so that ls, man, grep, etc. also lose their colour cues. Contrast
|
|
# is achieved entirely through brightness: dark grey / light grey / white.
|
|
# Error state uses an inverted (white background, black text) bar so it
|
|
# remains visually distinct without relying on red.
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# Palette overrides — replace every hue with a grey equivalent
|
|
Red="\e[0;37m" # light grey
|
|
Green="\e[0;97m" # bright white (success intent kept as brightest)
|
|
Yellow="\e[0;90m" # dark grey
|
|
Blue="\e[0;90m" # dark grey
|
|
Purple="\e[0;37m" # light grey
|
|
Cyan="\e[0;37m" # light grey
|
|
BRed="\e[1;37m" # bold light grey
|
|
BGreen="\e[1;97m" # bold bright white
|
|
BYellow="\e[1;90m" # bold dark grey
|
|
BBlue="\e[1;90m" # bold dark grey
|
|
BPurple="\e[1;37m" # bold light grey
|
|
BCyan="\e[1;37m" # bold light grey
|
|
IRed="\e[0;97m" # bright white
|
|
IGreen="\e[0;97m" # bright white
|
|
IYellow="\e[0;90m" # dark grey
|
|
IBlue="\e[0;90m" # dark grey
|
|
IPurple="\e[0;37m" # light grey
|
|
ICyan="\e[0;37m" # light grey
|
|
BIRed="\e[1;97m" # bold bright white
|
|
BIGreen="\e[1;97m" # bold bright white
|
|
BIYellow="\e[1;90m" # bold dark grey
|
|
BIBlue="\e[1;90m" # bold dark grey
|
|
BIPurple="\e[1;37m" # bold light grey
|
|
BICyan="\e[1;37m" # bold light grey
|
|
|
|
PROMPT_COLOR_TIME_FG="$IBlack" # dark grey clock text (subtle)
|
|
PROMPT_COLOR_TIME_BG="$On_IBlack" # dark grey clock background
|
|
PROMPT_COLOR_BAR_BG="$On_IBlack" # dark grey main bar
|
|
|
|
PROMPT_COLOR_OK_FG="$IWhite" # bright white on success
|
|
PROMPT_COLOR_OK_MARK="$BIWhite" # bold bright white checkmark
|
|
|
|
PROMPT_COLOR_ERR_BG="$On_White" # inverted: bright white bar on error
|
|
PROMPT_COLOR_ERR_FG="$Black" # black text on white background
|
|
PROMPT_COLOR_ERR_MARK="$BBlack" # bold black X
|
|
|
|
PROMPT_COLOR_ROOT_FG="$BIWhite" # bold bright white for root warning
|
|
PROMPT_COLOR_USER_FG="$IWhite" # bright white for normal user
|
|
PROMPT_COLOR_DIR_FG="$White" # standard white for path
|
|
PROMPT_COLOR_CTX_FG="$BIWhite" # context segment (git/conda)
|