Skip to content

Enable voxtype pause_media by default - #5364

Merged
dhh merged 1 commit into
omacom:devfrom
peteonrails:voxtype-pause-media-default
Apr 20, 2026
Merged

dhh merged 1 commit into
omacom:devfrom
peteonrails:voxtype-pause-media-default

Conversation

@peteonrails

@peteonrails peteonrails commented Apr 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds pause_media = true to the default voxtype config for new installs
  • Adds a migration to enable it for existing users who don't already have the setting

When you toggle voxtype into recording mode, voxtype will now pause any MPRIS compatible music players (cliamp, etc).

Motivation

Several Omarchy users have requested this feature: it was one of the most upvoted enhancement requests on the voxtype repo. Also, @abenz1267 built a wrapper script to introduce this functionality for omarchy users. It was was shared in the Discord community, which validated the demand.

This pull request makes the behavior built-in and active by default so media doesn't bleed into dictation recordings, and has the benefit of not requiring a statefile to be written to disk to control unpause behavior.

Requires voxtype 0.6.6

Co-authored-by: @crmne
Co-authored-by: @abenz1267

@peteonrails
peteonrails force-pushed the voxtype-pause-media-default branch from 42b7675 to c85b138 Compare April 19, 2026 17:06
@peteonrails
peteonrails marked this pull request as ready for review April 19, 2026 17:14
Copilot AI review requested due to automatic review settings April 19, 2026 17:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

Enables Voxtype’s pause_media behavior by default for new installs and attempts to migrate existing user configs to include the setting when it’s not already present.

Changes:

  • Add pause_media = true to the default default/voxtype/config.toml.
  • Add a migration script to inject the setting into ~/.config/voxtype/config.toml for existing installs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
migrations/1776617403.sh Migration to add pause_media = true to existing Voxtype config if missing.
default/voxtype/config.toml Sets pause_media = true in the default Voxtype config for new installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread migrations/1776617403.sh Resolved
Comment thread default/voxtype/config.toml Resolved
@peteonrails
peteonrails force-pushed the voxtype-pause-media-default branch from c85b138 to e6a99aa Compare April 19, 2026 20:12
Pauses MPRIS media players when recording starts so music
doesn't bleed into dictation. Adds the setting to the default
config for new installs and a migration for existing users.
Copilot AI review requested due to automatic review settings April 19, 2026 20:22
@peteonrails
peteonrails force-pushed the voxtype-pause-media-default branch from e6a99aa to 266682d Compare April 19, 2026 20:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dhh
dhh merged commit b317bd5 into omacom:dev Apr 20, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants