From 0e4d9c0dae30950ec602b335aed37b632b691d83 Mon Sep 17 00:00:00 2001 From: committer Date: Fri, 31 May 2024 13:19:11 -0500 Subject: [PATCH] + kitty terminal support --- dots/bin/dmenu_recency | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dots/bin/dmenu_recency b/dots/bin/dmenu_recency index b20d92f..c9339bd 100644 --- a/dots/bin/dmenu_recency +++ b/dots/bin/dmenu_recency @@ -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"