feat(darwin): add sketchybar
to yabai
module
This commit is contained in:
parent
7df97750b7
commit
89d280b7af
10 changed files with 288 additions and 9 deletions
modules/nix-darwin/yabai/sketchybar/plugins
8
modules/nix-darwin/yabai/sketchybar/plugins/front_app.sh
Executable file
8
modules/nix-darwin/yabai/sketchybar/plugins/front_app.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Some events send additional information specific to the event in the ${INFO}
|
||||
# variable. E.g. the front_app_switched event sends the name of the newly
|
||||
# focused application in the ${INFO} variable:
|
||||
# https://felixkratz.github.io/SketchyBar/config/events#events-and-scripting
|
||||
|
||||
sketchybar --set ${NAME} label="${INFO}"
|
Loading…
Add table
Add a link
Reference in a new issue