FelixKratz / SketchyBar

A highly customizable macOS status bar replacement
https://felixkratz.github.io/SketchyBar/
GNU General Public License v3.0
5.62k stars 86 forks source link

No active space highlight #334

Closed braun-steven closed 1 year ago

braun-steven commented 1 year ago

Hey there,

I was going to move from Übersicht to sketchybar again and started with the default config provided on the root of this repo.

Screenshot 2023-03-03 at 09 01 39

My issue is that active spaces are not highlighted (see screenshot above). If I read the docs correctly on that topic, config does not need any additional changes since:

By default the space component invokes the following script:

sketchybar --set $NAME icon.highlight=$SELECTED

Here are my Tabak and sketchybar configs:

How can I start debugging why the highlight of the $SELECTED space does not work?

Edit: Clicking on the space labels does change the space so the association of space->label/button seems to work.

FelixKratz commented 1 year ago

Did you copy the plugins directory as well? You need both the sketchybarrc file and the plugins folder. You also need to make all files in the plugins folder executable: chmod +x plugins/*

If you run sketchybar directly from the commandline:

brew services stop sketchybar
sketchybar

you will exactly see what is going wrong

braun-steven commented 1 year ago

Whoops, that's embarrassing. No, I forgot about that, I just assumed that would be some additional stuff. I copied them and now everything works, thanks! :-)

Maybe it would be good if you could highlight the need for the plugins when the "default" config is mentioned here

https://github.com/FelixKratz/SketchyBar/blob/ce4724ff2236e8166a99ef8e88bca02e397dc599/README.md?plain=1#L53

Somehow, when I skimmed through the README, it sounded like simply copying the default config file would be enough for an initial setup and I totally ignored the need for the plugins.

Anyway, thanks for your insanely fast response, I'm closing this :)

FelixKratz commented 1 year ago

Thats a very good point, I have updated the README.

You can have a one file setup, like shown here: https://github.com/FelixKratz/SketchyBar/discussions/47?sort=new#discussioncomment-4946414 but as soon as functionality starts to become more complex it is nice to have those scripts somewhere else.