Add -> simple new theme

This commit is contained in:
Jesús 2021-08-17 16:26:59 -05:00
parent baefc5c6f9
commit 0a58526fd7
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 23 additions and 0 deletions

View File

@ -14,6 +14,7 @@ if [[ -f $HOME/.hyperterm/themes/joy.sh ]]; then source "$HOME/.hyperterm/themes
if [[ -f $HOME/.hyperterm/themes/light_theme.sh ]]; then source "$HOME/.hyperterm/themes/light_theme.sh"; else true; fi
if [[ -f $HOME/.hyperterm/themes/minterm.sh ]]; then source "$HOME/.hyperterm/themes/minterm.sh"; else true; fi
if [[ -f $HOME/.hyperterm/themes/pure.sh ]]; then source "$HOME/.hyperterm/themes/pure.sh"; else true; fi
if [[ -f $HOME/.hyperterm/themes/simple.sh ]]; then source "$HOME/.hyperterm/themes/simple.sh"; else true; fi
if [[ -f $HOME/.hyperterm/themes/special.sh ]]; then source "$HOME/.hyperterm/themes/special.sh"; else true; fi
#---------------
@ -25,6 +26,7 @@ prompt="${default}"
#prompt="${light_theme}"
#prompt="${minterm}"
#prompt="${pure}"
#prompt="${simple}"
#prompt="${special}"
#---------------

View File

@ -0,0 +1,21 @@
#!/bin/bash
unset simple
# Import colors
_colors_bash "$@"
__time_out_command() {
cut -d\ -f1 /proc/loadavg
}
: "${simple:=\n\
\[${RESET}\]\
\[${BOLD}${GREY}\]\
\$(__time_out_command) \
\$(exitstatus)\
\$(__prompt_git)\
\[${BOLD}${GREEN}\] $SYMBOL \[$RESET\]}"
unset _psi
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"