Skip to content

docs(linux): add a Waybar module example for momentumctl status --json - #13

Merged
Ariazonaa merged 1 commit into
mainfrom
docs/waybar-module
Nov 24, 2026
Merged

Ariazonaa merged 1 commit into
mainfrom
docs/waybar-module

Conversation

@Ariazonaa

Copy link
Copy Markdown
Owner

Adds a copy-paste Waybar module to linux/README.md: a small jq script that turns momentumctl status --json into Waybar's JSON format (battery as text, noise mode as tooltip and CSS class), plus the module config.

The noise mode follows the same rules as noise_mode() in the GUI. Without a headset the script prints nothing and exits 0, so Waybar hides the module.

Tested on Fedora 44 with the v1.1.5 release archive: the script against the real _print_snapshot JSON output for ANC, adaptive, transparency, off, charging, unknown battery and no headset, and against the installed momentumctl without Bluetooth. Not tested on hardware or with the GUI open at the same time; the README says so.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Ariazonaa
Ariazonaa merged commit 9dd7618 into main Nov 24, 2026
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.

1 participant