From 0fd479570a32d2adbd5cef9fbe31d561eb3c9370 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Tue, 5 Apr 2022 10:28:22 -0700 Subject: [PATCH] Add kitty theme to derive colors --- assets/default/bin/derive_colors.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/default/bin/derive_colors.py b/assets/default/bin/derive_colors.py index 0c7cf19..f735830 100755 --- a/assets/default/bin/derive_colors.py +++ b/assets/default/bin/derive_colors.py @@ -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}")