My SketchyBar setup mentioned at FelixKratz/SketchyBar#47 (comment)

screenshot

Features

  • Displays app titles and updates on change (with animation ✨)
    • Instead of using spaces for fixed purposes, I allocate any new task to a free space. So it's nice to know how spaces are used and their purpose from a glance
  • Co-exists with macOS native menubar
    • Native menubar is useful, also I'm using MenubarX
  • Written in TypeScript
    • Easier to maintain for complex logic (a.k.a. I can't write bash)

Usage:

  • Install required dependencies:
    • node.js (run npm install or using yarn/pnpm)
    • yabai (query window info)
    • flock (to prevent multiple instances of the script)
  • Modify code to your liking
    • Be sure to replace "YOUR_USERNAME" to your own

Known issues:

  • After upgrading macos to Ventura, bar items jitter when update, no idea how to fix it yet
  • Does not update when moving a window to another space using yabai, yabai seems not emit any event when this happens: #1272