Add alacritty to i3-sensible-terminal

This commit is contained in:
Christian Duerr 2018-03-16 22:53:39 +01:00
parent 8f5c1cb6b8
commit b266574c30
No known key found for this signature in database
GPG Key ID: 85CDAE3C164BA7B4
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 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 if command -v "$terminal" > /dev/null 2>&1; then
exec "$terminal" "$@" exec "$terminal" "$@"
fi fi

View File

@ -47,6 +47,7 @@ It tries to start one of the following (in that order):
* kitty * kitty
* guake * guake
* tilda * tilda
* alacritty
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.