From: Christian Duerr Date: Fri, 16 Mar 2018 21:53:39 +0000 (+0100) Subject: Add alacritty to i3-sensible-terminal X-Git-Tag: 4.16~129^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b266574c3027efc39656a3f88c1f5ae4d534874c;p=i3%2Fi3 Add alacritty to i3-sensible-terminal --- diff --git a/i3-sensible-terminal b/i3-sensible-terminal index f1eb256e..6638098c 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 kitty guake tilda; 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 guake tilda alacritty; 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 894af912..fc956eef 100644 --- a/man/i3-sensible-terminal.man +++ b/man/i3-sensible-terminal.man @@ -47,6 +47,7 @@ It tries to start one of the following (in that order): * kitty * guake * tilda +* alacritty Please don’t complain about the order: If the user has any preference, they will have $TERMINAL set or modified their i3 configuration file.