From: David Jimenez Sequero Date: Mon, 10 Jul 2017 10:59:37 +0000 (+0100) Subject: Add KDE konsole terminal fallback to i3-sensible-terminal X-Git-Tag: 4.14~19^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cacd2ae600c5c52a7bd01dc5b4b7123feb5fe64a;p=i3%2Fi3 Add KDE konsole terminal fallback to i3-sensible-terminal --- diff --git a/i3-sensible-terminal b/i3-sensible-terminal index 7ec0f878..f92ff224 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; 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; 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 5facbac9..20a6810c 100644 --- a/man/i3-sensible-terminal.man +++ b/man/i3-sensible-terminal.man @@ -43,6 +43,7 @@ It tries to start one of the following (in that order): * lilyterm * tilix * terminix +* konsole Please don’t complain about the order: If the user has any preference, they will have $TERMINAL set or modified their i3 configuration file.