From: Cast Date: Sun, 12 Nov 2017 08:48:21 +0000 (+0800) Subject: add the kitty terminal in i3-sensible-terminal X-Git-Tag: 4.15~43^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F3042%2Fhead;p=i3%2Fi3 add the kitty terminal in i3-sensible-terminal --- 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.