From a1a82bd395849c771d00bce70897ba4b040d3d2a Mon Sep 17 00:00:00 2001 From: BarbUk Date: Thu, 21 Jun 2018 10:01:42 +0400 Subject: [PATCH] Snippy: Detect kitty as a terminal --- snippy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippy b/snippy index e33f2b0..3501d66 100755 --- a/snippy +++ b/snippy @@ -68,7 +68,7 @@ bashdown(){ is_gui(){ name="$(xprop -id "$(xdotool getwindowfocus)" WM_CLASS | cut -d'"' -f2 | tr '[:upper:]' '[:lower:]')" - [[ "$name" =~ term|tilda ]] && return 1 + [[ "$name" =~ term|tilda|kitty ]] && return 1 return 0 }