aboutsummaryrefslogtreecommitdiff
path: root/common/.config/sketchybar/plugins/space.sh.org
diff options
context:
space:
mode:
Diffstat (limited to 'common/.config/sketchybar/plugins/space.sh.org')
-rwxr-xr-xcommon/.config/sketchybar/plugins/space.sh.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/.config/sketchybar/plugins/space.sh.org b/common/.config/sketchybar/plugins/space.sh.org
new file mode 100755
index 0000000..97581aa
--- /dev/null
+++ b/common/.config/sketchybar/plugins/space.sh.org
@@ -0,0 +1,7 @@
+#+title: SketchyBar Space Plugin
+
+Get the current space.
+#+begin_src sh :tangle ~/.config/sketchybar/plugins/space.sh :mkdirp yes :tangle-mode o755
+ #!/bin/sh
+ sketchybar --set "$NAME" background.drawing="$SELECTED"
+#+end_src