by @cush
Meeting Mode
Mutes the mic, silences Slack, sets a status, expires after an hour.
- shellpactl
- shellswaync-client
- notify🎤 Mic muted, Slack sil…
- waitwait 3600s
- shellpactl
- shellswaync-client
- notify📞 Meeting mode cleared
Readme
Why this exists
Going into a meeting with your laptop is a sequence of mute, silence, status update, forget to undo all of those. This workflow does it in one chord and reverses itself an hour later.
If your meeting runs long, fire it again to extend by another hour.
The do-not-disturb on is idempotent.
Customize
- Set a longer default: bump
wait 3600.0to 5400 (90 min) or 7200 (2 hr). - Add Zoom: swap the Slack focus + key chord for whichever app you actually meet in.
- Skip the mic mute if you want voice meetings to be opt-in.
KDL source
// Meeting mode — by @cush
workflow "Meeting Mode" {
subtitle "Mute, silence, focus. Auto-undo in an hour."
trigger {
chord "super+alt+v"
}
shell "pactl set-source-mute @DEFAULT_SOURCE@ 1"
shell "swaync-client -d on"
notify "🎤 Mic muted, Slack silenced"
wait 3600.0
shell "pactl set-source-mute @DEFAULT_SOURCE@ 0"
shell "swaync-client -d off"
notify "📞 Meeting mode cleared"
}