aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hyperterm/_custom.sh2
-rw-r--r--hyperterm/themes/simple.sh21
2 files changed, 23 insertions, 0 deletions
diff --git a/hyperterm/_custom.sh b/hyperterm/_custom.sh
index 124106c..9c54abe 100644
--- a/hyperterm/_custom.sh
+++ b/hyperterm/_custom.sh
@@ -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}"
#---------------
diff --git a/hyperterm/themes/simple.sh b/hyperterm/themes/simple.sh
new file mode 100644
index 0000000..d2f2129
--- /dev/null
+++ b/hyperterm/themes/simple.sh
@@ -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\] }"