From d2b62c9d6f30a0ea88b2a235cde120cd10ba332b Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sat, 11 Jul 2026 22:14:43 -0400 Subject: Sketchybar now, got tired of the battery issue --- users/ryan/modules/sketchybar/bar-config/plugins/space.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 users/ryan/modules/sketchybar/bar-config/plugins/space.sh (limited to 'users/ryan/modules/sketchybar/bar-config/plugins/space.sh') 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 @@ +#!/usr/bin/env bash +# hyprland/workspaces active/visible -> highlighted (white) icon. +# Waybar's 3px white top-border on the active button maps to icon.highlight here. +if [ "$SELECTED" = "true" ]; then + sketchybar --set "$NAME" icon.highlight=on +else + sketchybar --set "$NAME" icon.highlight=off +fi -- cgit v1.3