#!/bin/sh # Stop dictation only when actually recording. If the release bind never # fires, whisrs' own silence auto-stop (2s) ends the recording instead. [ "$(whisrs status 2>/dev/null)" = "recording" ] && exec whisrs toggle