aboutsummaryrefslogtreecommitdiff
path: root/kitty/kitty-themes/.tools/generate_conf.sh
blob: db498b9ac48501d9beaa363675c2bbbf9df2480c (plain)
1
2
3
4
5
6
7
8
9
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