From fe74890678c23710fc74871306d32de604e03ad6 Mon Sep 17 00:00:00 2001 From: Midgard <2885-Midgard@users.noreply.framagit.org> Date: Sun, 11 Sep 2022 16:53:18 +0200 Subject: [PATCH] [i3/sway] Migrate away from alacritty --- i3/terminal.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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