diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2014-11-06 19:56:32 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2014-11-06 19:56:32 +0100 |
commit | 012553040974ded6a650218ab5c098738b20dfe4 (patch) | |
tree | e78be2dfea3c73d4958ce853419df3da8d3fd470 /i3-sensible-terminal | |
parent | 7b00114f7ea870162149d6ee3e19b23597945612 (diff) | |
download | i3-012553040974ded6a650218ab5c098738b20dfe4.tar.gz i3-012553040974ded6a650218ab5c098738b20dfe4.zip |
merge the formerly debian-specific x-terminal-emulator patch
I think instead of maintaining distribution-specific patches forever,
it’s a bit easier to have them applied upstream, especially since they
don’t break anything.
fixes #876
Diffstat (limited to 'i3-sensible-terminal')
-rwxr-xr-x | i3-sensible-terminal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/i3-sensible-terminal b/i3-sensible-terminal index 485fc16d..d56efa70 100755 --- a/i3-sensible-terminal +++ b/i3-sensible-terminal @@ -5,10 +5,10 @@ # This script tries to exec a terminal emulator by trying some known terminal # emulators. # -# Distributions/packagers should enhance this script with a -# distribution-specific mechanism to find the preferred terminal emulator. On -# Debian, there is the x-terminal-emulator symlink for example. -for terminal in $TERMINAL urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do +# 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 terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal; do if command -v $terminal > /dev/null 2>&1; then exec $terminal "$@" fi |