Add kitty theme to derive colors

This commit is contained in:
ViViDboarder 2022-04-05 10:28:22 -07:00
parent e0ce41546e
commit 0fd479570a

View File

@ -87,6 +87,9 @@ def get_terminal_profile(force: bool = False):
if os.environ.get("GNOME_TERMINAL_SCREEN") is not None:
return "Gnome Terminal"
if os.environ.get("KITTY_WINDOW_ID") is not None:
return os.environ.get("KITTY_THEME", "Unknown")
# If we got this far, we don't know what to do
raise TermProfileError(f"Unknown terminal {term_program}")