diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-10-09 11:51:36 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-10-09 11:51:36 +0100 |
commit | f2c1c49654862c14b214e91d9b40eabed255f3af (patch) | |
tree | 997ff89cabd72c0c36452dcfb90fc238b1a25ff3 /bin/recolor | |
parent | b60fab4a13f70bf97e73d63c44ad12c7bb4277a9 (diff) |
Remove .sh for all scripts
Diffstat (limited to 'bin/recolor')
-rwxr-xr-x | bin/recolor | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/recolor b/bin/recolor new file mode 100755 index 0000000..edd5fa5 --- /dev/null +++ b/bin/recolor @@ -0,0 +1,8 @@ +#!/bin/sh + +tr -d ' \t' | sed -n ' +s/.*background:/\x1b]11;/p +s/.*foreground:/\x1b]10;/p +s/.*borderColor:/\x1b]708;/p +s/.*color\([0-9][^:]*\):/\x1b]4;\1;/p +' | tr \\n \\a |