Snippy: Detect kitty as a terminal

This commit is contained in:
BarbUk 2018-06-21 10:01:42 +04:00
parent 6279234f22
commit a1a82bd395

2
snippy
View File

@ -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
}