Skip to content

Commit 720ac90

Browse files
committed
add a slightly modified theme for lowres and non-retina screens
1 parent 2da8770 commit 720ac90

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

themes/Evermeet_Lowres.bgptheme

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This theme for gitprompt.sh is designed for dark color schemes
2+
# On lowres screens unicode characters like ✖ require a space after them
3+
# otherwise the following character may overlap with the unicode character
4+
# tweaked for low resolution and non-retina screens
5+
6+
override_git_prompt_colors() {
7+
GIT_PROMPT_THEME_NAME="Evermeet_Lowres"
8+
9+
GIT_PROMPT_PREFIX="" # start of the git info string
10+
GIT_PROMPT_SUFFIX="" # the end of the git info string
11+
GIT_PROMPT_SEPARATOR="|" # separates each item
12+
13+
GIT_PROMPT_BRANCH="${Magenta}" # the git branch that is active in the current directory
14+
GIT_PROMPT_STAGED="${Cyan}●" # the number of staged files/directories
15+
GIT_PROMPT_CONFLICTS="${BoldRed}✖ " # the number of files in conflict
16+
GIT_PROMPT_CHANGED="${Cyan}✚ " # the number of changed files
17+
18+
GIT_PROMPT_UNTRACKED="${Cyan}…" # the number of untracked files/dirs
19+
GIT_PROMPT_STASHED="${Magenta}⚑" # the number of stashed files/dir
20+
GIT_PROMPT_CLEAN="${BoldGreen}✔" # a colored flag indicating a "clean" repo
21+
22+
GIT_PROMPT_UPSTREAM=" {${Magenta}_UPSTREAM_${ResetColor}}"
23+
24+
GIT_PROMPT_START_USER="[${BoldGreen}\u@\h${ResetColor} ${BoldYellow}\${?}${ResetColor} ${BoldBlue}\w${ResetColor}"
25+
GIT_PROMPT_START_ROOT="[${BoldRed}\u@\h${ResetColor} ${BoldYellow}\${?}${ResetColor} ${BoldBlue}\w${ResetColor}"
26+
GIT_PROMPT_END_USER="]$ "
27+
GIT_PROMPT_END_ROOT="]# "
28+
29+
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="⭑ " # This symbol is written after the branch, if the branch is not tracked
30+
}
31+
32+
reload_git_prompt_colors "Evermeet_Lowres"

0 commit comments

Comments
 (0)