summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/items/front_app.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/items/front_app.sh
parenta311b30a10e90e3f878937bcf722daa8e75b68c1 (diff)
modified .gnupg/gpg-agent.conf, created sketchybar/
Diffstat (limited to 'mac/.config/sketchybar/items/front_app.sh')
-rwxr-xr-xmac/.config/sketchybar/items/front_app.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/mac/.config/sketchybar/items/front_app.sh b/mac/.config/sketchybar/items/front_app.sh
new file mode 100755
index 0000000..77f79ff
--- /dev/null
+++ b/mac/.config/sketchybar/items/front_app.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+front_app=(
+ label.font="$FONT:Black:12.0"
+ icon.background.drawing=on
+ display=active
+ script="$PLUGIN_DIR/front_app.sh"
+ click_script="open -a 'Mission Control'"
+)
+sketchybar --add item front_app left \
+ --set front_app "${front_app[@]}" \
+ --subscribe front_app front_app_switched
+