add the kitty terminal in i3-sensible-terminal

This commit is contained in:
Cast 2017-11-12 16:48:21 +08:00
parent 103e78e04a
commit 22ba46e2a3
2 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,7 @@
# We welcome patches that add distribution-specific mechanisms to find the # We welcome patches that add distribution-specific mechanisms to find the
# preferred terminal emulator. On Debian, there is the x-terminal-emulator # preferred terminal emulator. On Debian, there is the x-terminal-emulator
# symlink for example. # 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 if command -v "$terminal" > /dev/null 2>&1; then
exec "$terminal" "$@" exec "$terminal" "$@"
fi fi

View File

@ -44,6 +44,7 @@ It tries to start one of the following (in that order):
* tilix * tilix
* terminix * terminix
* konsole * konsole
* kitty
Please dont complain about the order: If the user has any preference, they will Please dont complain about the order: If the user has any preference, they will
have $TERMINAL set or modified their i3 configuration file. have $TERMINAL set or modified their i3 configuration file.