mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-03-19 15:50:30 +01:00
feat: adds sketchybar configuration
This commit is contained in:
parent
d8cdb130b5
commit
4b0e72ec7a
9 changed files with 226 additions and 0 deletions
10
modules/home/sketchybar/plugins/front_app.sh
Executable file
10
modules/home/sketchybar/plugins/front_app.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
||||
|
||||
if [ "$SENDER" = "front_app_switched" ]; then
|
||||
sketchybar --set "$NAME" label="$INFO"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue