diff --git a/i3/terminal.sh b/i3/terminal.sh index 8eb2854..2c404d3 100755 --- a/i3/terminal.sh +++ b/i3/terminal.sh @@ -5,7 +5,7 @@ set -uo pipefail set +e #CMD=i3-sensible-terminal -if [ -n "$WAYLAND_DISPLAY" ]; then +if [ -n "${WAYLAND_DISPLAY:-}" ]; then CMD=foot else CMD=xfce4-terminal