Skip to content

quickest way to change the active space's foreground color? #620

Closed Answered by aspauldingcode
aspauldingcode asked this question in Q&A
Discussion options

You must be logged in to vote

I've solved this issue for the default behavior of spaces:

for sketchybarrc:

#default space config behavior 
for i in {1..10}
do
  sid="$i"
  space=(
    space="$sid"
    icon="$i"
    icon.padding_left=4
    icon.padding_right=5
    # icon.margin_left=10
    # icon.margin_right=10
    background.color=$base02
    background.corner_radius=5
    background.height=13
    # background.width=10
    label.drawing=off
    icon.font="JetBrains Mono:Regular:10.0"
    script="$PLUGIN_DIR/space.sh"
    click_script="yabai -m space --focus $sid"
  )
  sketchybar --add space space."$sid" left --set space."$sid" "${space[@]}" ignore_association=on 
  sketchybar --subscribe space."$sid" mouse.clicked m…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aspauldingcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #609 on September 24, 2024 10:38.