From 0c8fa3a2a270747f3dbb54fe8792f3f0aec997e3 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Mon, 3 Aug 2026 01:22:44 -0400 Subject: Initial commit: combined darwin + guix-linux home-manager flake Supersedes nix-dotfiles (darwin) and guix-dotfiles' ad-hoc nix-home-manager flake (linux). See README.md/MIGRATION.md. --- 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.1