Added events for title change

This commit is contained in:
Federico Rossi 2023-11-19 08:26:06 +01:00
parent 9c416de308
commit 514628270b
2 changed files with 15 additions and 6 deletions

View file

@ -17,8 +17,10 @@ sketchybar --bar height=28 \
sticky=off \
padding_left=10 \
padding_right=10 \
color=0x15ffffff
color=0x15ffffff \
--add event window_focus \
--add event title_change
##### Changing Defaults #####
# We now change some default values that are applied to all further items
# For a full list of all available item properties see:
@ -48,7 +50,7 @@ sketchybar --default icon.font="Hack Nerd Font:Bold:17.0" \
sketchybar --add item window_handler left \
--set window_handler script="$PLUGIN_DIR/windows.py" \
icon.drawing=off \
--subscribe window_handler front_app_switched space_windows_change space_change display_change
--subscribe window_handler front_app_switched space_windows_change space_change display_change title_change window_focus