+ kitty terminal support
This commit is contained in:
@@ -30,6 +30,8 @@ if [ -z "$TERMINAL_CMD" ]; then
|
||||
TERMINAL_CMD="xfce4-terminal -e"
|
||||
elif [ "$(which xterm)" ]; then
|
||||
TERMINAL_CMD="xterm -e"
|
||||
elif [ "$(which kitty)" ]; then
|
||||
TERMINAL_CMD="kitty -e"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -88,7 +90,7 @@ get_type () {
|
||||
|
||||
if ! type=$(grep -lx "$match" -R "$config_dir"); then
|
||||
type=$(get_type)
|
||||
else
|
||||
else
|
||||
type=${type##*/}
|
||||
if ! [[ $known_types =~ " $type " ]]; then
|
||||
rm "$config_dir/$type"
|
||||
|
||||
Reference in New Issue
Block a user