diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-11 22:14:43 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-11 22:14:43 -0400 |
| commit | d2b62c9d6f30a0ea88b2a235cde120cd10ba332b (patch) | |
| tree | f373003e64c3ec4593d7ae4ffac72de52767aa70 /users/ryan/modules/sketchybar/bar-config/plugins/space.sh | |
| parent | 27117202739f092d837af2752e4b9801c47b8ddb (diff) | |
Sketchybar now, got tired of the battery issue
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 | ||
