Skip to content

Instantly share code, notes, and snippets.

View miladabc's full-sized avatar
:bowtie:
Breathing

Milad Abbasi miladabc

:bowtie:
Breathing
View GitHub Profile
@unglitched
unglitched / iterm2kitty.py
Created January 24, 2020 01:18
Convert .itermcolors file to kitty term theme colors
#!/usr/bin/env python3
#
# Convert .itermcolors files to kitty terminal color settings.
# Modded from https://gist.github.com/MSylvia/4e90860743f1a4de187d
# Might need to adjust dicts[i][NUMBER].text per your file.
import sys
import xml.etree.ElementTree as ET
def rgb_to_hex(rgb):