mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-26 21:30:17 +00:00
fix default click script
This commit is contained in:
parent
9f98a4bd9c
commit
d88199cc11
1 changed files with 14 additions and 14 deletions
28
sketchybarrc
28
sketchybarrc
|
@ -46,20 +46,20 @@ SPACE_ICONS=("1" "2" "3" "4" "5" "6" "7" "8")
|
|||
|
||||
for i in "${!SPACE_ICONS[@]}"
|
||||
do
|
||||
sketchybar --add space space.$i left \
|
||||
--set space.$i associated_space=$(($i+1)) \
|
||||
icon=${SPACE_ICONS[i]} \
|
||||
icon.highlight_color=0xff48aa2a \
|
||||
icon.padding_left=8 \
|
||||
icon.padding_right=8 \
|
||||
background.padding_left=5 \
|
||||
background.padding_right=5 \
|
||||
background.color=0x44ffffff \
|
||||
background.corner_radius=5 \
|
||||
background.height=20 \
|
||||
label.drawing=off \
|
||||
script="$PLUGIN_DIR/space.sh" \
|
||||
click_script="yabai -m space --focus $i"
|
||||
sketchybar --add space space.$i left \
|
||||
--set space.$i associated_space=$(($i+1)) \
|
||||
icon=${SPACE_ICONS[i]} \
|
||||
icon.highlight_color=0xff48aa2a \
|
||||
icon.padding_left=8 \
|
||||
icon.padding_right=8 \
|
||||
background.padding_left=5 \
|
||||
background.padding_right=5 \
|
||||
background.color=0x44ffffff \
|
||||
background.corner_radius=5 \
|
||||
background.height=20 \
|
||||
label.drawing=off \
|
||||
script="$PLUGIN_DIR/space.sh" \
|
||||
click_script="yabai -m space --focus $(($i+1))"
|
||||
done
|
||||
|
||||
##### Adding Left Items #####
|
||||
|
|
Loading…
Reference in a new issue