feat: notifications and a Plasma widget for keybars Pro #1

Open
jwarykowski wants to merge 1 commit from feat/plasma into main
Owner
  • keybars-notify (Python, stdlib only): follows Notify calls on the session bus with busctl monitor --json and sends desktop.notification (app name as repo) for apps listed in ~/.config/keybars/notify.conf, by name or desktop entry. A systemd user service; works with any freedesktop notification server.
  • A Plasma 6 widget: Focus time left in the panel; Start/Stop Focus, a lights switch and the four modes in the popup, through Plasma's executable engine.
  • install.sh sets both up (--uninstall takes them out).

Tests: the watcher's logic, and the script for real on a private session bus (Slack's notification sent, Thunderbird's not); the widget's logic with node; make widget loads it in plasmoidviewer on Xvfb in a Fedora container with a fake keybars-pro (renders the fake status, no QML errors). CI runs all but make widget.

- `keybars-notify` (Python, stdlib only): follows Notify calls on the session bus with `busctl monitor --json` and sends `desktop.notification` (app name as repo) for apps listed in `~/.config/keybars/notify.conf`, by name or desktop entry. A systemd user service; works with any freedesktop notification server. - A Plasma 6 widget: Focus time left in the panel; Start/Stop Focus, a lights switch and the four modes in the popup, through Plasma's executable engine. - `install.sh` sets both up (`--uninstall` takes them out). Tests: the watcher's logic, and the script for real on a private session bus (Slack's notification sent, Thunderbird's not); the widget's logic with node; `make widget` loads it in plasmoidviewer on Xvfb in a Fedora container with a fake keybars-pro (renders the fake status, no QML errors). CI runs all but `make widget`.
feat: notifications and a Plasma widget for keybars Pro
All checks were successful
CI / check (pull_request) Successful in 11s
0870d31534
keybars-notify follows the desktop's notifications with busctl and sends
desktop.notification for chosen apps; install.sh sets it up as a user
service. The Plasma 6 widget shows Focus in the panel, with Focus, the
lights and the mode in its popup.
All checks were successful
CI / check (pull_request) Successful in 11s
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/plasma:feat/plasma
git switch feat/plasma

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/plasma
git switch feat/plasma
git rebase main
git switch main
git merge --ff-only feat/plasma
git switch feat/plasma
git rebase main
git switch main
git merge --no-ff feat/plasma
git switch main
git merge --squash feat/plasma
git switch main
git merge --ff-only feat/plasma
git switch main
git merge feat/plasma
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-kde!1
No description provided.