Migration
This is my new public git source viewer. Source available. Please contact with concerns/bugs.
Contact me
users/ryan/modules/sketchybar/bar-config/plugins/space.sh
b2c3e7185f54fadc3a97fdff3a36b10df650449c
· 301 B · 8 lines
raw
| 1 | #!/usr/bin/env bash |
| 2 | # hyprland/workspaces active/visible -> highlighted (white) icon. |
| 3 | # Waybar's 3px white top-border on the active button maps to icon.highlight here. |
| 4 | if [ "$SELECTED" = "true" ]; then |
| 5 | sketchybar --set "$NAME" icon.highlight=on |
| 6 | else |
| 7 | sketchybar --set "$NAME" icon.highlight=off |
| 8 | fi |