SoundBar 1.3
Gesture fixes
Touching a dark Touch Bar no longer changes the colour. macOS dims the strip after about 75 seconds, and the touch you make to wake it used to land as a tap. It is now recognised as a wake and absorbed — exactly one touch, so the next deliberate tap works normally.
There is no API for the dim state (DFRGetStatus returns a constant whether the strip is lit or has been dark for minutes), so this goes via the system idle counter. The wrinkle: a finger on the strip resets that counter 67 ms before the contact reaches the app, so it is sampled ahead of time and read as a maximum over a short window rather than checked on arrival.
The long press now toggles the visualiser instead of only switching it off. Press once to stand it down, press again to bring it back — previously the menu was the only way back.
The volume slide has twice the resolution: 32 steps across the strip instead of 16, so 3.1 % per step over 7.3 mm of travel. A full sweep still covers exactly 0–100 %.
New settings, all adjustable without reinstalling:
defaults write com.ryoji.SoundBar volumeSteps -int 32 # 4-128, 16 matches the volume keys
defaults write com.ryoji.SoundBar wakeTouchIdleSeconds -float 70 # 0 disables the wake guard
launchctl kickstart -k "gui/$(id -u)/com.ryoji.SoundBar"
SoundBar.dmg contains the app, installer, uninstaller and read-me. The build is ad-hoc signed — if macOS calls the download "damaged", clear quarantine first:
xattr -dr com.apple.quarantine ~/Downloads/SoundBar.dmg
Updating re-triggers the Screen & System Audio Recording and Microphone prompts, because the code signature changes with every build.