add a script to query if the terminal supports kitty tgp

This commit is contained in:
Uyanide committed 2026-01-17 07:36:42 +01:00
1 parent 4d7b4a744d
commit 98a80c7cbc
3 files changed
+97 -3

No files matched your search

@@ -1,5 +1,11 @@
if not set -q fetch_logo_type
set -g fetch_logo_type auto
if type -q kitty-tgp-query; and kitty-tgp-query
set -g fetch_logo_type kitty
else if type -q kitty-tgp-query
set -g fetch_logo_type logo
else
set -g fetch_logo_type auto
end
end
if not set -q fetch_color