mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 17:57:40 +00:00
Add Gnome Terminal support to colors script
This commit is contained in:
parent
5401bd67c6
commit
2fb5734718
@ -71,6 +71,9 @@ def get_terminal_profile(force=False):
|
||||
raise ValueError("Using iTerm but no profile found")
|
||||
elif term_program == "Alacritty":
|
||||
return "Alacritty"
|
||||
else:
|
||||
if os.environ.get("GNOME_TERMINAL_SCREEN") is not None:
|
||||
return "Gnome Terminal"
|
||||
|
||||
# If we got this far, we don't know what to do
|
||||
raise ValueError(f"Unknown terminal {term_program}")
|
||||
|
Loading…
Reference in New Issue
Block a user