Skip to content

Commit

Permalink
Fixed output issue
Browse files Browse the repository at this point in the history
Fixed an issue where output didn’t work if SPACETYPE and WINTYPE weren't set.
  • Loading branch information
SxC97 authored Jun 29, 2021
1 parent 80c7c5e commit 59cabf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yabai.1d.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 59cabf2

Please # to comment.