diff options
Diffstat (limited to 'users/ryan/modules/sketchybar/bar-config/plugins/space.sh')
| -rwxr-xr-x | users/ryan/modules/sketchybar/bar-config/plugins/space.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/users/ryan/modules/sketchybar/bar-config/plugins/space.sh b/users/ryan/modules/sketchybar/bar-config/plugins/space.sh new file mode 100755 index 0000000..f15ecca --- /dev/null +++ b/users/ryan/modules/sketchybar/bar-config/plugins/space.sh | |||
| @@ -0,0 +1,8 @@ | |||
| 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 | ||
