summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/plugins/space.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-24 14:02:11 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-24 14:02:11 +0900
commit130e628ab35de45226fb5b88f103c1938dacfc63 (patch)
tree22659cf6da6c8d03e9580c2a7b0aad04058a355f /mac/.config/sketchybar/plugins/space.sh
parenta311b30a10e90e3f878937bcf722daa8e75b68c1 (diff)
modified .gnupg/gpg-agent.conf, created sketchybar/
Diffstat (limited to 'mac/.config/sketchybar/plugins/space.sh')
-rwxr-xr-xmac/.config/sketchybar/plugins/space.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mac/.config/sketchybar/plugins/space.sh b/mac/.config/sketchybar/plugins/space.sh
new file mode 100755
index 0000000..b8602b5
--- /dev/null
+++ b/mac/.config/sketchybar/plugins/space.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# The $SELECTED variable is available for space components and indicates if
+# the space invoking this script (with name: $NAME) is currently selected:
+# https://felixkratz.github.io/SketchyBar/config/components#space----associate-mission-control-spaces-with-an-item
+
+sketchybar --set "$NAME" background.drawing="$SELECTED"