diff options
Diffstat (limited to 'hyperterm/themes')
-rw-r--r-- | hyperterm/themes/default.sh | 27 | ||||
-rw-r--r-- | hyperterm/themes/joy.sh | 33 | ||||
-rw-r--r-- | hyperterm/themes/light_theme.sh | 24 | ||||
-rw-r--r-- | hyperterm/themes/minterm.sh | 25 | ||||
-rw-r--r-- | hyperterm/themes/pure.sh | 23 | ||||
-rw-r--r-- | hyperterm/themes/special.sh | 39 |
6 files changed, 171 insertions, 0 deletions
diff --git a/hyperterm/themes/default.sh b/hyperterm/themes/default.sh new file mode 100644 index 0000000..24843e8 --- /dev/null +++ b/hyperterm/themes/default.sh @@ -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\] }" diff --git a/hyperterm/themes/joy.sh b/hyperterm/themes/joy.sh new file mode 100644 index 0000000..c15700d --- /dev/null +++ b/hyperterm/themes/joy.sh @@ -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\] }" diff --git a/hyperterm/themes/light_theme.sh b/hyperterm/themes/light_theme.sh new file mode 100644 index 0000000..775f5f7 --- /dev/null +++ b/hyperterm/themes/light_theme.sh @@ -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\] }" diff --git a/hyperterm/themes/minterm.sh b/hyperterm/themes/minterm.sh new file mode 100644 index 0000000..62e3ae7 --- /dev/null +++ b/hyperterm/themes/minterm.sh @@ -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\] }" diff --git a/hyperterm/themes/pure.sh b/hyperterm/themes/pure.sh new file mode 100644 index 0000000..a4fbdb3 --- /dev/null +++ b/hyperterm/themes/pure.sh @@ -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\] }" diff --git a/hyperterm/themes/special.sh b/hyperterm/themes/special.sh new file mode 100644 index 0000000..3820573 --- /dev/null +++ b/hyperterm/themes/special.sh @@ -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\] }" |