MyNixOS website logo
option

programs.aerospace.userSettings.exec-on-workspace-change

Commands to run every time workspace changes.

Declarations
Type
list of string
Default
[ ]
Example
[
  "/bin/bash"
  "-c"
  "sketchybar --trigger aerospace_workspace_change FOCUSED=$AEROSPACE_FOCUSED_WORKSPACE"
]
Sign in to create a configuration using this setting.