Correct unbound variable error in terminal.sh under X
This commit is contained in:
parent
5ab985c9d0
commit
2748662898
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue