From 81c0af62a0ae30a92979495d981447643f641a9a Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 12 Mar 2017 23:16:03 -0400 Subject: Add console color palette script --- console.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 console.sh diff --git a/console.sh b/console.sh new file mode 100755 index 00000000..2f372345 --- /dev/null +++ b/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 -- cgit 1.4.1