+ kitty terminal support
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user