mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 06:56:33 +00:00
Add kitty theme to derive colors
This commit is contained in:
parent
e0ce41546e
commit
0fd479570a
@ -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}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user