From 22ba46e2a3dc39e9ac0f8fc31a5ac74b13f4a254 Mon Sep 17 00:00:00 2001 From: Cast Date: Sun, 12 Nov 2017 16:48:21 +0800 Subject: [PATCH] add the kitty terminal in i3-sensible-terminal --- i3-sensible-terminal | 2 +- man/i3-sensible-terminal.man | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/i3-sensible-terminal b/i3-sensible-terminal index f92ff224..23cb5688 100755 --- a/i3-sensible-terminal +++ b/i3-sensible-terminal @@ -8,7 +8,7 @@ # We welcome patches that add distribution-specific mechanisms to find the # preferred terminal emulator. On Debian, there is the x-terminal-emulator # symlink for example. -for terminal in "$TERMINAL" x-terminal-emulator urxvt rxvt termit terminator Eterm aterm uxterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal mate-terminal terminology st qterminal lilyterm tilix terminix konsole; do +for terminal in "$TERMINAL" x-terminal-emulator urxvt rxvt termit terminator Eterm aterm uxterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal mate-terminal terminology st qterminal lilyterm tilix terminix konsole kitty; do if command -v "$terminal" > /dev/null 2>&1; then exec "$terminal" "$@" fi diff --git a/man/i3-sensible-terminal.man b/man/i3-sensible-terminal.man index 20a6810c..bccc824a 100644 --- a/man/i3-sensible-terminal.man +++ b/man/i3-sensible-terminal.man @@ -44,6 +44,7 @@ It tries to start one of the following (in that order): * tilix * terminix * konsole +* kitty Please don’t complain about the order: If the user has any preference, they will have $TERMINAL set or modified their i3 configuration file. -- 2.39.5