Merge pull request #3344 from downzer0/chore/i3-sensible-terminal--hyper

enhancement: adds hyper as a sensible terminal option
This commit is contained in:
Ingo Bürk 2018-08-02 17:05:29 +02:00 committed by GitHub
commit d47b841f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 alacritty; 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 hyper; 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

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