diff --git a/profile.d/prompt.sh b/profile.d/prompt.sh index 8fbecb4..86a2a54 100644 --- a/profile.d/prompt.sh +++ b/profile.d/prompt.sh @@ -405,14 +405,15 @@ set_theme() } printf "Preview for theme '%s':\n" "$theme_name" - printf " %b13:37:00%b %b0%b %b•%b %buser%b@%bhost%b %b/path/to/dir%b %bgit:main +1/-0%b\n" \ - "${PROMPT_COLOR_TIME_FG:-}" "${DEFAULTCOL:-}" \ - "${PROMPT_COLOR_OK_FG:-}" "${DEFAULTCOL:-}" \ - "${PROMPT_COLOR_OK_MARK:-}" "${DEFAULTCOL:-}" \ - "${PROMPT_COLOR_USER_FG:-}" "${DEFAULTCOL:-}" \ - "${PROMPT_COLOR_ROOT_FG:-}" "${DEFAULTCOL:-}" \ - "${PROMPT_COLOR_DIR_FG:-}" "${DEFAULTCOL:-}" \ - "${PROMPT_COLOR_CTX_FG:-}" "${DEFAULTCOL:-}" + printf "%b [ 13:37:00 ] %b%b [ 0 %b• (5s) %b ] %b user@host%b [ git:main +1/-0 ]\n%b" \ + "${PROMPT_COLOR_TIME_FG:-}${PROMPT_COLOR_TIME_BG:-}" "${DEFAULTCOL:-}" \ + "${PROMPT_COLOR_OK_FG:-}${PROMPT_COLOR_BAR_BG:-}" \ + "${PROMPT_COLOR_OK_MARK:-}${PROMPT_COLOR_BAR_BG:-}" \ + "${PROMPT_COLOR_OK_FG:-}${PROMPT_COLOR_BAR_BG:-}" \ + "${PROMPT_COLOR_USER_FG:-}${PROMPT_COLOR_BAR_BG:-}" \ + "${PROMPT_COLOR_CTX_FG:-}${PROMPT_COLOR_BAR_BG:-}" "${DEFAULTCOL:-}" + printf "%b/path/to/dir \$ %b\n" \ + "${PROMPT_COLOR_DIR_FG:-}" "${DEFAULTCOL:-}" set_colors if [[ -n "$old_theme" ]]; then