+ kitty terminal support

This commit is contained in:
committer
2024-05-31 13:19:11 -05:00
parent 089ae33085
commit 0e4d9c0dae

View File

@@ -30,6 +30,8 @@ if [ -z "$TERMINAL_CMD" ]; then
TERMINAL_CMD="xfce4-terminal -e" TERMINAL_CMD="xfce4-terminal -e"
elif [ "$(which xterm)" ]; then elif [ "$(which xterm)" ]; then
TERMINAL_CMD="xterm -e" TERMINAL_CMD="xterm -e"
elif [ "$(which kitty)" ]; then
TERMINAL_CMD="kitty -e"
fi fi
fi fi
@@ -88,7 +90,7 @@ get_type () {
if ! type=$(grep -lx "$match" -R "$config_dir"); then if ! type=$(grep -lx "$match" -R "$config_dir"); then
type=$(get_type) type=$(get_type)
else else
type=${type##*/} type=${type##*/}
if ! [[ $known_types =~ " $type " ]]; then if ! [[ $known_types =~ " $type " ]]; then
rm "$config_dir/$type" rm "$config_dir/$type"