mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-20 18:08:02 +02:00
Use $KITTY_PID to check if kitty is running
This commit is contained in:
parent
dc41738b32
commit
ebdc75469d
@ -23,6 +23,8 @@ autochafa() {
|
||||
}
|
||||
|
||||
is_kitty() {
|
||||
[ -n "$KITTY_PID" ] && return 0
|
||||
|
||||
case "$TERM" in
|
||||
*-kitty) return 0 ;;
|
||||
*) return 1 ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user