From 59cabf217b3bed26635b311c40eadb6e7e2c4906 Mon Sep 17 00:00:00 2001 From: Shrey Choudhary <53032923+SxC97@users.noreply.github.com> Date: Tue, 29 Jun 2021 08:51:39 -0500 Subject: [PATCH] Fixed output issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed an issue where output didn’t work if SPACETYPE and WINTYPE weren't set. --- yabai.1d.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yabai.1d.sh b/yabai.1d.sh index 1b2e456..4b1d277 100644 --- a/yabai.1d.sh +++ b/yabai.1d.sh @@ -184,6 +184,8 @@ elif [[ "$SPACETYPE" = true ]]; then FINAL=$FINALSTRING$SPACELEFT$TYPE$SPACERIGHT elif [[ "$WINTYPE" = true ]]; then FINAL=$FINALSTRING$WINLEFT$WINDOW$WINRIGHT +elif [[ "$SPACETYPE" = false ]] && [[ "$WINTYPE" = false ]]; then + FINAL=$FINALSTRING fi echo "$FINAL"