New
v2.21.0
Additions
- All scripts have access to the new environment variable
BAR_NAME, which holds the bar instance name (for use with multiple bars) - Allow
bracketitems to host popups - Add
scroll_durationproperty for texts (#478) - Allow setting the image through
image.string=<image>, equivalent toimage=<image> - Add domain
--load-font <path>, which makes a font from a custom path available to use
Fixes
- enable scrolling with touchpad gestures https://github.com/FelixKratz/SketchyBar/issues/505
- Fix memory leaks in truncated text width calculation
- Fix memory corruption if an item is set to a popup position multiple times
- Improve reliability of
mouse.exitedevents - Limit hotloading to avoid hotload loops
Optimizations
- Reduce draw calls for backgrounds
- Improve the animation system (threaded rendering, better frame skip detection, better chained animations)
- Sort the query response of
default_menu_itemsby their position in the macOS bar
Full Changelog: https://github.com/FelixKratz/SketchyBar/compare/v2.20.1...v2.21.0