aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwhite-terminal.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/white-terminal.sh b/white-terminal.sh
new file mode 100755
index 0000000..40fd2f0
--- /dev/null
+++ b/white-terminal.sh
@@ -0,0 +1,29 @@
+function recolor () {
+ tr -d ' \t' | sed -n '
+ s/.*background:/\x1b]11;/p
+ s/.*foreground:/\x1b]10;/p
+ s/.*color\([0-9][^:]*\):/\x1b]4;\1;/p
+ ' | tr \\n \\a
+}
+
+recolor <<EOF
+*.foreground: black
+*.background: white
+*.color0: black
+*.color1: red3
+*.color2: green3
+*.color3: yellow
+*.color4: DodgerBlue3
+*.color5: blue1
+*.color6: blue30
+*.color7: gray90
+*.color8: gray50
+*.color9: red3
+*.color10: green3
+*.color11: yellow3
+*.color12: blue3
+*.color13: magenta
+*.color14: blue2
+*.color15: gray
+EOF
+