diff --git a/lib/scripts/init.sh b/lib/scripts/init.sh index eb266518..338f994e 100644 --- a/lib/scripts/init.sh +++ b/lib/scripts/init.sh @@ -22,11 +22,9 @@ if [ -z "$spaces" ]; then fi if [ -z "$windows" ]; then - windows=$($yabai_path -m query --windows | sed 's/\\.//g;') + windows=$($yabai_path -m query --windows | sed 's/\\.//g;' | tr -d '\n') fi -windows=$(echo $windows | tr -d '\n') - if [ -z "$displays" ]; then displays=$($yabai_path -m query --displays) fi