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/generate_conf.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .config/kitty/kitty-themes/.tools/generate_conf.sh (limited to '.config/kitty/kitty-themes/.tools/generate_conf.sh') diff --git a/.config/kitty/kitty-themes/.tools/generate_conf.sh b/.config/kitty/kitty-themes/.tools/generate_conf.sh new file mode 100755 index 0000000..db498b9 --- /dev/null +++ b/.config/kitty/kitty-themes/.tools/generate_conf.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +find ~/github/macos-terminal-themes/schemes/ -name "*.terminal" -print0 | while read -d $'\0' -r file; do + filename=`basename "$file"` + without_ext=${filename%.*} + removed_spaces=${without_ext// /_} + # output_filename=`echo ${removed_spaces} | tr '[:upper:]' '[:lower:]'` + echo ${removed_spaces}.conf + ./convert_conf.swift "$file" > ./themes/${removed_spaces}.conf +done -- cgit v1.2.3