diff --git a/i3/terminal.sh b/i3/terminal.sh index 7544820..8eb2854 100755 --- a/i3/terminal.sh +++ b/i3/terminal.sh @@ -5,8 +5,11 @@ set -uo pipefail set +e #CMD=i3-sensible-terminal -CMD=alacritty -#CMD=xfce4-terminal +if [ -n "$WAYLAND_DISPLAY" ]; then + CMD=foot +else + CMD=xfce4-terminal +fi # If a window with a path in its title is focused, open a terminal with that # location as working directory. Like this, terminals are opened in the same