crissNb/Dynamic-Island-Sketchybar

i am trying to run this but its giving me an error

Opened this issue · 2 comments

No matching processes belonging to you were found
make: `islandhelper' is up to date.
/Users/malikwaleed/.config/dynamic-island-sketchybar/item.sh: line 10: 54062 Illegal instruction: 4 "$DYNAMIC_ISLAND_DIR"/helper/islandhelper "$ISLANDHELPER"
/Users/malikwaleed/.config/dynamic-island-sketchybar/item.sh: line 31: / 2 - : syntax error: operand expected (error token is "/ 2 - ")

I'm running into the same issue. It looks like it's not reading $P_DYNAMIC_ISLAND_DEFAULT_WIDTH.

I just figured it out. The instructions were a bit unclear, but here's the solution:

  1. After creating your configuration file (like mbp2021_14.sh) in the /userconfigs directory, you need to run the following command from the project root:

    cp userconfigs/mbp2021_14.sh userconfig.sh

Note: use your respective userconfigs/mbp file, I was able to have it work as intended with the example file using a mbp2023_14, ymmv

  1. The userconfigs directory is essentially a staging area for the userconfig.sh file located in the root directory. Until the userconfig.sh file is correctly set up, the system won’t know the values for any environment variables.