From 63feeb9f369fc6176e85c1c2d8fcc863caad1946 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 10 Feb 2026 12:32:48 +0100 Subject: start new MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bin/term-apply-colors | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 bin/term-apply-colors (limited to 'bin/term-apply-colors') diff --git a/bin/term-apply-colors b/bin/term-apply-colors deleted file mode 100755 index 829ab4f..0000000 --- a/bin/term-apply-colors +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -set -e -[ -n "$DEBUG" ] && set -x - -# stolen from https://github.com/lemnos/theme.sh/blob/master/bin/theme.sh -awk ' -BEGIN { - fgesc="\033]10;#%s\007" - bgesc="\033]11;#%s\007" - curesc="\033]12;#%s\007" - colesc="\033]4;%d;#%s\007" -} -/^foreground:/ { printf fgesc, substr($2, 2) > "/dev/tty" } -/^background:/ { printf bgesc, substr($2, 2) > "/dev/tty" } -/^cursor:/ { printf curesc, substr($2, 2) > "/dev/tty" } -/^[0-9]+:/ { printf colesc, $1, substr($2, 2) > "/dev/tty" } -' -- cgit 1.4.1