blob: 44917e4b31235d7dafcd871b24b8b220e7f28c2a (
plain)
1
2
3
4
5
6
7
8
9
|
#+title: SketchyBar Front App Plugin
Get the name of the focused application.
#+begin_src sh :tangle ~/.config/sketchybar/plugins/front_app.sh :mkdirp yes :tangle-mode o755
#!/bin/sh
if [ "$SENDER" = "front_app_switched" ]; then
sketchybar --set "$NAME" label="$INFO"
fi
#+end_src
|