first commit
This commit is contained in:
27
hyperterm/themes/default.sh
Normal file
27
hyperterm/themes/default.sh
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC1117
|
||||
|
||||
unset default
|
||||
|
||||
# Import colors
|
||||
_colors_bash "$@"
|
||||
|
||||
default=("\n\
|
||||
\[$RESET\]\
|
||||
\[${BOLD}${YELLOW}\][ \u \
|
||||
\[${BOLD}${BLUE}\]| \D{%Y-%m-%d} |\
|
||||
\[${BOLD}${RED}\] \D{%I:%M%p} ]\n\
|
||||
\[$RESET\]\
|
||||
\[${BOLD}${WHITE}\][\$PWD]\[$RESET\] \
|
||||
\$(exitstatus)\[$RESET\]\
|
||||
\$( _prompt_is_on_git &> /dev/null && \
|
||||
echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \
|
||||
echo -n \"\$(_prompt_get_git_info)\" && \
|
||||
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
|
||||
echo -n \"\[$RESET\]\")\
|
||||
\n\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]")
|
||||
|
||||
export default
|
||||
|
||||
unset _psi
|
||||
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|
||||
33
hyperterm/themes/joy.sh
Normal file
33
hyperterm/themes/joy.sh
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
unset joy
|
||||
|
||||
# Import colors
|
||||
_colors_bash "$@"
|
||||
|
||||
: "${joy:=\n\
|
||||
\[${BOLD}${CYAN}\]\342\224\214\342\224\200[\
|
||||
\[${BOLD}${YELLOW}\]\u\
|
||||
\[${BOLD}${CYAN}\]@\
|
||||
\[${BOLD}${GREY}\]\h\
|
||||
\[${BOLD}${CYAN}\]]\
|
||||
\342\224\200[\
|
||||
\[${RESET}\]\w\
|
||||
\[${BOLD}${CYAN}\]]\
|
||||
\342\224\200\
|
||||
\$(exitstatus)\
|
||||
\[${BOLD}${CYAN}\]\
|
||||
\342\224\200\
|
||||
\$( _prompt_is_on_git &> /dev/null && \
|
||||
echo -n \"\[$RESET\]\" && \
|
||||
echo -n \"\$(_prompt_get_git_info)\" && \
|
||||
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
|
||||
echo -n \"\[$RESET\]\")\
|
||||
\[${BOLD}${CYAN}\]\342\224\200[\
|
||||
\[${RESET}\]\t\
|
||||
\[${BOLD}${CYAN}\]]\n\
|
||||
\[${BOLD}${CYAN}\]\342\224\224\342\224\200\342\224\200\342\225\274\
|
||||
\[${BOLD}${GREEN}\] $SYMBOL \[$RESET\]}"
|
||||
|
||||
unset _psi
|
||||
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|
||||
24
hyperterm/themes/light_theme.sh
Normal file
24
hyperterm/themes/light_theme.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
unset light_theme
|
||||
|
||||
# Import colors
|
||||
_colors_bash "$@"
|
||||
|
||||
: "${light_theme:=\n\
|
||||
\[$RESET\]\
|
||||
\[${BOLD}${CYAN}\]┌─\[$RESET\]\
|
||||
\[${BOLD}${YELLOW}\]\u\[$RESET\]\
|
||||
\[${BOLD}${CYAN}\]@\[$RESET\]\
|
||||
\[${BOLD}${GREY}\]\h\[$RESET\] \
|
||||
\$(exitstatus)\[$RESET\] \
|
||||
\[${BOLD}${WHITE}\][\$PWD]\
|
||||
\$( _prompt_is_on_git &> /dev/null && \
|
||||
echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \
|
||||
echo -n \"\$(_prompt_get_git_info)\" && \
|
||||
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
|
||||
echo -n \"\[$RESET\]\")\
|
||||
\n\[${BOLD}${CYAN}\]╰─➤\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}"
|
||||
|
||||
unset _psi
|
||||
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|
||||
25
hyperterm/themes/minterm.sh
Normal file
25
hyperterm/themes/minterm.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
unset minterm
|
||||
|
||||
# Import colors
|
||||
_colors_bash "$@"
|
||||
|
||||
: "${minterm:=\n\
|
||||
\[${BOLD}${CYAN}\]┌─\
|
||||
\[${BOLD}${YELLOW}\]\u\
|
||||
\[${BOLD}${CYAN}\]@\
|
||||
\[${BOLD}${GREY}\]\h\[$RESET\] \
|
||||
\$(exitstatus)\[$RESET\] \
|
||||
\[${BOLD}${WHITE}\][\$PWD]\
|
||||
\$( _prompt_is_on_git &> /dev/null && \
|
||||
echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \
|
||||
echo -n \"\$(_prompt_get_git_info)\" && \
|
||||
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
|
||||
echo -n \"\[$RESET\]\")\n\
|
||||
\[${BOLD}${CYAN}\]╰─➤\[$RESET\] \
|
||||
\$( echo -n \"\[${BOLD}${GREY}\]\$(date +%H:%M)\" )\[$RESET\] \
|
||||
\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}"
|
||||
|
||||
unset _psi
|
||||
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|
||||
23
hyperterm/themes/pure.sh
Normal file
23
hyperterm/themes/pure.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
unset pure
|
||||
|
||||
# Import colors
|
||||
_colors_bash "$@"
|
||||
|
||||
: "${pure:=\
|
||||
\[${BOLD}${GREEN}\]\u\[$RESET\] \
|
||||
\[${BOLD}${YELLOW}\][\
|
||||
\[${BOLD}${RED}\]\w\
|
||||
\[${BOLD}${YELLOW}\]]\[$RESET\] \
|
||||
\$(exitstatus)\[$RESET\] \
|
||||
\[${BOLD}${BLUE}\](\$(date +%H:%M:%S))\
|
||||
\$( _prompt_is_on_git &> /dev/null && \
|
||||
echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \
|
||||
echo -n \"\$(_prompt_get_git_info)\" && \
|
||||
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
|
||||
echo -n \"\[$RESET\]\")\
|
||||
\n\[${BOLD}${CYAN}\]$SYMBOL \[$RESET\]}"
|
||||
|
||||
unset _psi
|
||||
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|
||||
39
hyperterm/themes/special.sh
Normal file
39
hyperterm/themes/special.sh
Normal file
@@ -0,0 +1,39 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC1117
|
||||
|
||||
unset special
|
||||
|
||||
# Import colors
|
||||
_colors_bash "$@"
|
||||
|
||||
_prompt_local_name() {
|
||||
case ${LANG/_*/} in
|
||||
es)
|
||||
printf "Ubicación Actual:"
|
||||
;;
|
||||
*)
|
||||
printf "Current Location:"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
special=("\n\
|
||||
\[$RESET\]\
|
||||
\[${BOLD}${YELLOW}\][$(_prompt_local_name)\
|
||||
\[$RESET\] \[${BOLD}${GREY}\]\w\
|
||||
\[${BOLD}${YELLOW}\]]\[$RESET\] \
|
||||
\[${BOLD}${CYAN}\]hist:\!\[$RESET\]\n\
|
||||
\[${BOLD}${GREY}\]\
|
||||
\D{%Y-%m-%d}@\D{%I:%M%p}\[$RESET\] \
|
||||
\$(exitstatus)\[$_PROMPT_RESET\]\
|
||||
\$( _prompt_is_on_git &> /dev/null && \
|
||||
echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \
|
||||
echo -n \"\$(_prompt_get_git_info)\" && \
|
||||
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
|
||||
echo -n \"\[$RESET\]\")\n\
|
||||
\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]")
|
||||
|
||||
export special
|
||||
|
||||
unset _psi
|
||||
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|
||||
Reference in New Issue
Block a user