BTT 5.518 allows currently up to 7 customizable Dock icons. Here is how they work:
Limitations: Currently Custom Dock Icons only work while BTT is running - they also don't retain their icons while BTT is quit. I'll improve that soon. Also when clicking one of the custom Dock icons your active app might flash briefly. This is because Dock icons always activate the app they belong to which can not be prevented.
Dock Icons can be configured in the "Automations & Named & Other Triggers" section in BTT. The trigger is named "Custom Dock Icon".
Dock Icons are identified by the letters A-G, you need to choose one
You can select any image / icon you want
Custom Dock Icons support app-specific behavior. For example You can have a global Dock Icon with identifier A and you can have a app-specific Dock Icon with Identifier A that uses different icon and actions.
To create a dock context menu (that is shown on right-click) you need to select the action category "Custom Dock Context Menu" and add the predefined action "Show Custom Context Menu (New).
Dock context menus officially don't support icons. However you can workaround this by installing Apple's SFSymbols app (SF Symbols - Apple Developer ), right-click any symbol in that app and choose "copy symbol". You can then paste it into your menu items title.
I'll add a new action to dynamically update dock item icons later today.
weird. Could you check whether this file exists and if so, send it to me? (andreas@folivora.ai) ~/Library/Group Containers/group.com.folivora.BTTShared/Library/Preferences/group.com.folivora.BTTShared.plist
Go there via Finder => Go => Go to Folder, make sure to include the ~
ah I think I found the issue, for some reason the entitlements are missing (which prevents it from accessing the icons but works on my dev machine so I didn't notice).
Hey @Andreas_Hegenberg , do you plan to enhance that feature? I'm thinking of dynamic/scriptable icons, something like the floating menus maybe. I think it would be really cool and handy if we can have the power (or at least small portion) of floating menus in the dock.
Yes I'm looking into that, I will definitely support to embed floating menus in custom menubar items soon, AFAIK dock icons are more limited, they will probably only be able to show a non-interactive version of a floating menu.
Hey @Andreas_Hegenberg , have you worked on this? I'm trying to set a dock icon showing the current time. Initially I was thinking to update the used icon with a one-liner (magick -size 200x60 xc:white -font /System/Library/Fonts/Menlo.ttc -pointsize 40 -fill black -gravity center -annotate 0 $(date +%H:%M) ~/Documents/time.png), but it seems that the icon is cached/saved and BTT doesn't read the updated file. Can this be achieved somehow?