aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/themes/simple.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-17 16:26:59 -0500
committerJesús <heckyel@hyperbola.info>2021-08-17 16:26:59 -0500
commit0a58526fd73d471db438025096a7ce878e144571 (patch)
tree6fc1e902972a967d6f0ac295aa0a0db14860651f /hyperterm/themes/simple.sh
parentbaefc5c6f9e65806452aa7258825b1852959c1f5 (diff)
downloadhyperterm-0a58526fd73d471db438025096a7ce878e144571.tar.lz
hyperterm-0a58526fd73d471db438025096a7ce878e144571.tar.xz
hyperterm-0a58526fd73d471db438025096a7ce878e144571.zip
Add -> simple new theme
Diffstat (limited to 'hyperterm/themes/simple.sh')
-rw-r--r--hyperterm/themes/simple.sh21
1 files changed, 21 insertions, 0 deletions
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\] }"