SketchyBar/plugins/front_app.sh
2022-09-28 16:15:14 +02:00

8 lines
330 B
Bash
Executable file

#!/usr/bin/env sh
# Some events send additional information specific to the event in the $INFO
# variable. E.g. the front_app_switched event sends the name of the newly
# focused application in the $INFO variable:
# https://felixkratz.github.io/SketchyBar/config/events#events-and-scripting
sketchybar --set $NAME label="$INFO"