This commit is contained in:
mr0xb 2026-06-03 14:36:50 -04:00
commit 715eb53860
No known key found for this signature in database
57 changed files with 7755 additions and 3 deletions

View file

@ -0,0 +1,15 @@
#!/bin/bash
CONFIG_DIR="${CONFIG_DIR:-$HOME/.config/sketchybar}"
source "$CONFIG_DIR/helpers/icon_map.sh"
if [ "$SENDER" = "front_app_switched" ]; then
__icon_map "$INFO"
# Use smooth animation for app switching - sin 6 for quick buttery transition
if [ -n "$icon_result" ] && [ "$icon_result" != ":default:" ]; then
sketchybar --animate sin 6 --set "$NAME" label="$INFO" icon="$icon_result"
else
sketchybar --animate sin 6 --set "$NAME" label="$INFO" icon=":default:"
fi
fi