summary refs log tree commit diff
path: root/files/console.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-06-10 17:23:21 -0400
committerJune McEnroe <june@causal.agency>2017-06-10 17:23:21 -0400
commit15b644456e8838c280f257f563214c9e1bdc00c9 (patch)
tree51e10e34ce76b12b0561cc0e1de3c6d38b512e9a /files/console.sh
parentMove console.sh to linux directory (diff)
downloadsrc-15b644456e8838c280f257f563214c9e1bdc00c9.tar.gz
src-15b644456e8838c280f257f563214c9e1bdc00c9.zip
Move files to one files directory
Diffstat (limited to 'files/console.sh')
-rwxr-xr-xfiles/console.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/files/console.sh b/files/console.sh
new file mode 100755
index 00000000..2f372345
--- /dev/null
+++ b/files/console.sh
@@ -0,0 +1,27 @@
+#!/usr/bin/env zsh
+
+# Set the console color palette.
+
+color() {
+  print -n "\e]P${1}${2}"
+}
+
+color 0 '1d2021'
+color 1 'cc241d'
+color 2 '98991a'
+color 3 'd89a22'
+color 4 '468589'
+color 5 'b16286'
+color 6 '689e6a'
+color 7 'a99a84'
+
+color 8 '938374'
+color 9 'fc4935'
+color a 'b8ba26'
+color b 'fbbe2f'
+color c '83a699'
+color d 'd4869c'
+color e '8fc17d'
+color f 'eddbb3'
+
+clear