aboutsummaryrefslogtreecommitdiff
path: root/users/ryan/modules/sketchybar/bar-config/plugins/space.sh
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2026-07-11 22:14:43 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2026-07-11 22:14:43 -0400
commitd2b62c9d6f30a0ea88b2a235cde120cd10ba332b (patch)
treef373003e64c3ec4593d7ae4ffac72de52767aa70 /users/ryan/modules/sketchybar/bar-config/plugins/space.sh
parent27117202739f092d837af2752e4b9801c47b8ddb (diff)
Sketchybar now, got tired of the battery issue
Diffstat (limited to 'users/ryan/modules/sketchybar/bar-config/plugins/space.sh')
-rwxr-xr-xusers/ryan/modules/sketchybar/bar-config/plugins/space.sh8
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.
4if [ "$SELECTED" = "true" ]; then
5 sketchybar --set "$NAME" icon.highlight=on
6else
7 sketchybar --set "$NAME" icon.highlight=off
8fi