Cannot add more than 5 spaces #62
-
Tried multiple times, cannot find out whats wrong though. I ll be glad to share whatever you ll possibly need for replication. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Adding to this, just if someone falls into it.. After 5th space with the sketchybar -m batch, needed to readd it so that I can see the other spaces. |
Beta Was this translation helpful? Give feedback.
-
This works just fine on my side: sketchybar -m --add space code left \
--set code associated_space=1 \
associated_display=1 \
icon=x \
icon.highlight_color=0xff48aa2a \
label.highlight_color=0xff48aa2a \
label=code \
click_script="yabai -m space --focus 1" \
\
--add space writing left \
--set writing associated_display=1 \
associated_space=2 \
icon.highlight_color=0xfffab402 \
label.highlight_color=0xfffab402 \
icon=x \
label=tex \
click_script="yabai -m space --focus 2" \
\
--add space reading left \
--set reading associated_display=1 \
associated_space=3 \
icon.highlight_color=0xff7fe5f0 \
label.highlight_color=0xff7fe5f0 \
icon=x \
label=web \
click_script="yabai -m space --focus 3" \
\
--add space entertainment left \
--set entertainment associated_display=1 \
associated_space=4 \
icon.highlight_color=0xfffff68f \
label.highlight_color=0xfffff68f \
icon=x \
label=idle \
click_script="yabai -m space --focus 4" \
\
--add space test left \
--set test associated_display=1 \
associated_space=5 \
icon.highlight_color=0xfffff68f \
label.highlight_color=0xfffff68f \
icon=x \
label=idle \
click_script="yabai -m space --focus 5" \
\
--add space test2 left \
--set test2 associated_display=1 \
associated_space=6 \
icon.highlight_color=0xfffff68f \
label.highlight_color=0xfffff68f \
icon=x \
label=idle \
click_script="yabai -m space --focus 6" You need to pay attention to the "\" when using the batch command. It should appear at every newline that is not the end of the sketchybar command and should never have trailing whitespaces. Notice, that only my last line has no "\" because this is where the command really ends. |
Beta Was this translation helpful? Give feedback.
This works just fine on my side: