feat: tmux's bell and quiet windows on the keyboard #1

Open
jwarykowski wants to merge 2 commits from feat/plugin into main
Owner

A TPM plugin: alert-bell sends tmux.bell, alert-silence (opt-in with @keybars-silence) tmux.quiet, and changing window or session tmux.seen, each with the session as the repo. Hooks sit at index 73 of each hook array, so existing hooks stay. scripts/rules adds two starter rules on the top-right key that clear on tmux.seen.

Tests run a tmux server of their own against a fake keybars-pro; checked on tmux 3.8 and Ubuntu's 3.4.

Not in this PR: showing the current session on the keyboard (from the proposal). Number-row positions differ between boards, so it needs a way to name keys per board first.

A TPM plugin: `alert-bell` sends `tmux.bell`, `alert-silence` (opt-in with `@keybars-silence`) `tmux.quiet`, and changing window or session `tmux.seen`, each with the session as the repo. Hooks sit at index 73 of each hook array, so existing hooks stay. `scripts/rules` adds two starter rules on the top-right key that clear on `tmux.seen`. Tests run a tmux server of their own against a fake `keybars-pro`; checked on tmux 3.8 and Ubuntu's 3.4. Not in this PR: showing the current session on the keyboard (from the proposal). Number-row positions differ between boards, so it needs a way to name keys per board first.
feat: tmux's bell and quiet windows on the keyboard
All checks were successful
CI / check (pull_request) Successful in 25s
6edac71baf
A window that rang its bell sends tmux.bell, one quiet for @keybars-silence
seconds tmux.quiet, and moving to another window tmux.seen, which clears
them. Hooks go at their own index so others stay.
ci: run in the job image, with nothing from GitHub
All checks were successful
CI / check (pull_request) Successful in 25s
6e498108d5
All checks were successful
CI / check (pull_request) Successful in 25s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/plugin:feat/plugin
git switch feat/plugin

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/plugin
git switch feat/plugin
git rebase main
git switch main
git merge --ff-only feat/plugin
git switch feat/plugin
git rebase main
git switch main
git merge --no-ff feat/plugin
git switch main
git merge --squash feat/plugin
git switch main
git merge --ff-only feat/plugin
git switch main
git merge feat/plugin
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jwarykowski/keybars-tmux!1
No description provided.