thiagowfx's avatar

ยฌ just serendipity ๐Ÿ€ (not just serendipity)

โ˜… swiftbar

โ€ข 156 words โ€ข 1 min โ€ข updated

SwiftBar:

Powerful macOS menu bar customization tool

It is comparable to i3bar and i3status, but on macOS.

My current setup:

macOS status bar

This screenshot is from a few months ago (January).

From left to right, skipping the default macOS Control Center icons on the right side:

  • On-call tribunal ยท in 7m: next calendar event of the day, with a countdown โ€” via a Raycast extension
  • ๐ŸŸข VPN: VPN status โ€” green when connected (SwiftBar)
  • ๐Ÿ”’ TP [6h]: time left on my Teleport session (SwiftBar)
  • โ˜๏ธ AWS [2h]: time left on my AWS credentials (SwiftBar)
  • ๐Ÿ‘ค Decisive Battle ยท ็›ฎ้ป’ๅฐ†ๅฃซ: currently playing track on Spotify1 โ€” via a Raycast extension

Each SwiftBar item is its own script, refreshed on its own cadence. The shorter the refresh interval, the more system resources it takes, naturally.

Scripts live in ~/.config/swiftbar.

Here’s a typical one: ~/.config/swiftbar/corp-status.30s.sh.

30s in the filename means that the script is refreshed every 30 seconds. โˆŽ


  1. Final Fantasy OST! ↩︎