From 0f144c1ef9d831b1c663ef998f40e22c33156d9e Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Fri, 8 Sep 2023 14:43:41 +0530 Subject: Initial Commit * Adds Basic dot files configs --- .config/kitty/kitty-themes/.tools/extract-vscode.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .config/kitty/kitty-themes/.tools/extract-vscode.sh (limited to '.config/kitty/kitty-themes/.tools/extract-vscode.sh') diff --git a/.config/kitty/kitty-themes/.tools/extract-vscode.sh b/.config/kitty/kitty-themes/.tools/extract-vscode.sh new file mode 100755 index 0000000..71a6930 --- /dev/null +++ b/.config/kitty/kitty-themes/.tools/extract-vscode.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +theme=$1 + +jq ".colors | to_entries | map(select(.key | match(\"terminal.*\"))) | map({(.key | gsub(\"\\\\.(?.)\"; .a | ascii_upcase) | ltrimstr(\"terminal\") | sub(\"(?.)\"; .a | ascii_downcase)):.value}) | add" < "$theme" > "terminal/${theme%.*}.json" -- cgit v1.2.3