From e9f1fe32e2e7d4b5187cc408a10a17e1ef637377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 6 Oct 2017 23:45:59 +0200 Subject: Add simple script to turn terminal to white color --- white-terminal.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 white-terminal.sh 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 <