refining themes
This commit is contained in:
@@ -308,9 +308,9 @@ set_prompt()
|
|||||||
|
|
||||||
# If root, print the host in root colour. Otherwise use user colour.
|
# If root, print the host in root colour. Otherwise use user colour.
|
||||||
if [[ $EUID -eq 0 ]]; then
|
if [[ $EUID -eq 0 ]]; then
|
||||||
PS1+="\[${_root_fg}${_bar_bg}\]\\u\[${_user_fg}${_bar_bg}\]@\\h"
|
PS1+="\[${_root_fg}${_bar_bg}\] \\u\[${_user_fg}${_bar_bg}\]@\\h"
|
||||||
else
|
else
|
||||||
PS1+="\[${_user_fg}${_bar_bg}\]\\u@\\h"
|
PS1+="\[${_user_fg}${_bar_bg}\] \\u@\\h"
|
||||||
fi
|
fi
|
||||||
PS1+="\[\e[K\e[u\]\[$RESETCOL\]\n"
|
PS1+="\[\e[K\e[u\]\[$RESETCOL\]\n"
|
||||||
# Print the working directory and prompt marker, then reset colour.
|
# Print the working directory and prompt marker, then reset colour.
|
||||||
|
|||||||
@@ -27,14 +27,14 @@ Green="\e[0;96m" # teal (ICyan — abyss string colour)
|
|||||||
Yellow="\e[0;93m" # bright gold (IYellow — abyss constant colour)
|
Yellow="\e[0;93m" # bright gold (IYellow — abyss constant colour)
|
||||||
|
|
||||||
PROMPT_COLOR_TIME_FG="$ICyan" # electric teal clock
|
PROMPT_COLOR_TIME_FG="$ICyan" # electric teal clock
|
||||||
PROMPT_COLOR_TIME_BG="$On_Black" # deep black background
|
PROMPT_COLOR_TIME_BG="\e[48;2;15;20;40m" # near-black midnight bg for time
|
||||||
PROMPT_COLOR_BAR_BG="$On_Blue" # deep blue bar
|
PROMPT_COLOR_BAR_BG="\e[48;2;0;30;70m" # deep navy bar (24-bit)
|
||||||
|
|
||||||
PROMPT_COLOR_OK_FG="$ICyan" # teal on success
|
PROMPT_COLOR_OK_FG="$ICyan" # teal on success
|
||||||
PROMPT_COLOR_OK_MARK="$IGreen" # bright teal-green checkmark
|
PROMPT_COLOR_OK_MARK="$IGreen" # bright teal-green checkmark
|
||||||
|
|
||||||
PROMPT_COLOR_ERR_BG="$On_Red" # red background on failure
|
PROMPT_COLOR_ERR_BG="\e[48;2;180;20;20m" # vivid crimson background (24-bit)
|
||||||
PROMPT_COLOR_ERR_FG="$IWhite" # bright white text
|
PROMPT_COLOR_ERR_FG="\e[1;97m" # bold bright white — maximum contrast
|
||||||
PROMPT_COLOR_ERR_MARK="$IYellow" # golden X
|
PROMPT_COLOR_ERR_MARK="$IYellow" # golden X
|
||||||
|
|
||||||
PROMPT_COLOR_ROOT_FG="$IRed" # red for root
|
PROMPT_COLOR_ROOT_FG="$IRed" # red for root
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ PROMPT_COLOR_OK_FG="$White" # clean white on success
|
|||||||
PROMPT_COLOR_OK_MARK="$Green" # Adwaita green checkmark
|
PROMPT_COLOR_OK_MARK="$Green" # Adwaita green checkmark
|
||||||
|
|
||||||
PROMPT_COLOR_ERR_BG="$On_Red" # Adwaita red on failure
|
PROMPT_COLOR_ERR_BG="$On_Red" # Adwaita red on failure
|
||||||
PROMPT_COLOR_ERR_FG="$White" # white text
|
PROMPT_COLOR_ERR_FG="$BIWhite" # bold bright white for maximum legibility
|
||||||
PROMPT_COLOR_ERR_MARK="$Yellow" # yellow X (warning intent)
|
PROMPT_COLOR_ERR_MARK="$Yellow" # yellow X (warning intent)
|
||||||
|
|
||||||
PROMPT_COLOR_ROOT_FG="$Red" # Adwaita red for root
|
PROMPT_COLOR_ROOT_FG="$Red" # Adwaita red for root
|
||||||
PROMPT_COLOR_USER_FG="$IBlue" # Adwaita blue for user
|
PROMPT_COLOR_USER_FG="$BBlue" # darker bold blue — readable on blue bar
|
||||||
PROMPT_COLOR_DIR_FG="$IGreen" # Adwaita green for path
|
PROMPT_COLOR_DIR_FG="$IGreen" # Adwaita green for path
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
PROMPT_COLOR_TIME_FG="$ICyan" # Clock text
|
PROMPT_COLOR_TIME_FG="$ICyan" # Clock text
|
||||||
PROMPT_COLOR_TIME_BG="$On_Black" # Clock background (black)
|
PROMPT_COLOR_TIME_BG="$On_IBlack" # Clock background (black)
|
||||||
PROMPT_COLOR_BAR_BG="$On_IBlack" # Main bar background (dark grey)
|
PROMPT_COLOR_BAR_BG="$On_Black" # Main bar background (dark grey)
|
||||||
|
|
||||||
PROMPT_COLOR_OK_FG="$IGreen" # Exit-code text on success
|
PROMPT_COLOR_OK_FG="$IGreen" # Exit-code text on success
|
||||||
PROMPT_COLOR_OK_MARK="$BGreen" # Checkmark colour on success
|
PROMPT_COLOR_OK_MARK="$BGreen" # Checkmark colour on success
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
# shift to their dark/regular equivalents for contrast on a light terminal.
|
# shift to their dark/regular equivalents for contrast on a light terminal.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
PROMPT_COLOR_TIME_FG="$Blue" # Clock text (ICyan → Blue, darker for light bg)
|
PROMPT_COLOR_TIME_FG="$Black" # Clock text (black on light bg — maximum contrast)
|
||||||
PROMPT_COLOR_TIME_BG="$On_IWhite" # Clock background (On_Black → On_IWhite)
|
PROMPT_COLOR_TIME_BG="$On_IWhite" # Clock background (On_Black → On_IWhite)
|
||||||
PROMPT_COLOR_BAR_BG="$On_White" # Main bar background (On_IBlack → On_White)
|
PROMPT_COLOR_BAR_BG="$On_White" # Main bar background (On_IBlack → On_White)
|
||||||
|
|
||||||
|
|||||||
@@ -108,14 +108,14 @@ RESETCOL="\e[0m"
|
|||||||
|
|
||||||
PROMPT_COLOR_TIME_FG="\e[38;2;181;137;0m" # Yellow — primary accent
|
PROMPT_COLOR_TIME_FG="\e[38;2;181;137;0m" # Yellow — primary accent
|
||||||
PROMPT_COLOR_TIME_BG="\e[48;2;0;43;54m" # Base03 — darkest background
|
PROMPT_COLOR_TIME_BG="\e[48;2;0;43;54m" # Base03 — darkest background
|
||||||
PROMPT_COLOR_BAR_BG="\e[48;2;7;54;66m" # Base02 — bar background
|
PROMPT_COLOR_BAR_BG="\e[48;2;88;110;117m" # Base01 — slightly brighter bar (was Base02)
|
||||||
|
|
||||||
PROMPT_COLOR_OK_FG="\e[38;2;131;148;150m" # Base0 — body text on success
|
PROMPT_COLOR_OK_FG="\e[38;2;131;148;150m" # Base0 — body text on success
|
||||||
PROMPT_COLOR_OK_MARK="\e[38;2;133;153;0m" # Green — checkmark
|
PROMPT_COLOR_OK_MARK="\e[38;2;133;153;0m" # Green — checkmark
|
||||||
|
|
||||||
PROMPT_COLOR_ERR_BG="\e[48;2;220;50;47m" # Red — error background
|
PROMPT_COLOR_ERR_BG="\e[48;2;180;20;15m" # deeper crimson — more contrast than Solarized Red
|
||||||
PROMPT_COLOR_ERR_FG="\e[38;2;253;246;227m" # Base3 — bright fg on red
|
PROMPT_COLOR_ERR_FG="\e[1;38;2;255;255;255m" # bold pure white — maximum contrast on dark red
|
||||||
PROMPT_COLOR_ERR_MARK="\e[38;2;181;137;0m" # Yellow — X mark on red bg
|
PROMPT_COLOR_ERR_MARK="\e[1;38;2;253;246;227m" # Base3 bold — bright warm mark stands out on crimson
|
||||||
|
|
||||||
PROMPT_COLOR_ROOT_FG="\e[38;2;220;50;47m" # Red — root warning
|
PROMPT_COLOR_ROOT_FG="\e[38;2;220;50;47m" # Red — root warning
|
||||||
PROMPT_COLOR_USER_FG="\e[38;2;42;161;152m" # Cyan — normal user
|
PROMPT_COLOR_USER_FG="\e[38;2;42;161;152m" # Cyan — normal user
|
||||||
|
|||||||
Reference in New Issue
Block a user