feat(sketchybar): rebuild sketchybar config

This commit is contained in:
js0ny 2025-03-03 22:39:12 +00:00
parent d93d153827
commit 0af876301c
27 changed files with 615 additions and 1059 deletions

View file

@ -1,10 +1,7 @@
#!/bin/sh
#!/usr/bin/env bash
# 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
if [ "$SENDER" = "front_app_switched" ]; then
sketchybar --set "$NAME" label="$INFO"
fi
case "$SENDER" in
"front_app_switched")
sketchybar --set "$NAME" label="$INFO"
;;
esac