From 973492cbbb1172f6db80ae51e52f53bf34c625ae Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 10 Aug 2025 17:09:58 +0530 Subject: Theme change --- config/zsh/plugins/timer.zsh | 2 +- config/zsh/theme.zsh | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'config/zsh') diff --git a/config/zsh/plugins/timer.zsh b/config/zsh/plugins/timer.zsh index 73d9673..3610877 100644 --- a/config/zsh/plugins/timer.zsh +++ b/config/zsh/plugins/timer.zsh @@ -7,7 +7,7 @@ function precmd() { now=$(($(date +%s%0N)/1000000)) elapsed=$(($now-$timer)) - export RPROMPT="%F{magenta}${elapsed}ms %{$reset_color%}" + export RPROMPT="%F{cyan}${elapsed}ms %{$reset_color%}" unset timer fi } diff --git a/config/zsh/theme.zsh b/config/zsh/theme.zsh index c6341df..e2f476b 100644 --- a/config/zsh/theme.zsh +++ b/config/zsh/theme.zsh @@ -1,7 +1,9 @@ setopt prompt_subst +autoload -U colors && colors + # Theme -COL_ACCENT=13; +COL_ACCENT="#007070"; COL_DIR=$COL_ACCENT; @@ -17,7 +19,7 @@ git_changes() { git status --porcelain 2> /dev/null | wc -l; } # Prompt dir p_dir() { - segment "%2~" $COL_DIR white; + segment "%2~" $COL_DIR brightwhite; } # Prompt terminal status @@ -47,7 +49,7 @@ prompt() { p_status; p_dir; echo -n '$(p_git)'; - segment "󱄅" black 13; + segment "󱄅" black "$COL_ACCENT"; } export PROMPT="$(prompt) "; -- cgit v1.3.1