AeroSpace

> Published on Thu, 13 Feb 2025, 10:27> Updated on Thu, 13 Feb 2025, 10:28

Add these in your ~/.aerospace.toml config file:

toml
on-focus-changed = [
  "exec-and-forget osascript -e 'tell application id \"tracesOf.Uebersicht\" to refresh widget id \"simple-bar-index-jsx\"'",
]

exec-on-workspace-change = [
  '/bin/zsh',
  '-c',
  '/usr/bin/osascript -e "tell application id \"tracesOf.Uebersicht\" to refresh widget id \"simple-bar-index-jsx\""',
]

This will allow AeroSpace to refresh simple-bar when necessary.

Something is wrong in this documentation? Please open an issue on GitHub in simple-bar repo.