From a6b024ffbc0052813d5cfd05fa2cd207d5b20c9b Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Wed, 29 Apr 2026 20:45:04 +0300 Subject: Initial commit: Rust notification badge daemon for KDE Plasma 6 Monitors D-Bus for desktop notifications and emits Unity LauncherEntry badge updates so KDE Plasma task manager shows notification counts. - Streaming dbus-monitor parser with app matching and lifecycle tracking - KWin window discovery for automatic desktop file detection - Systemd user service, Makefile install/uninstall targets - 38 tests (32 unit + 6 integration), 97% line coverage via cargo-llvm-cov - CodeScene code health: 10/10 on all source files --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..eca1cac --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +PREFIX ?= $(HOME)/.local + +.PHONY: build install uninstall test clean + +build: + cargo build --release + +test: + cargo test + +install: build + install -Dm755 target/release/notification-badge $(PREFIX)/bin/notification-badge + install -Dm644 notification-badge.service $(HOME)/.config/systemd/user/notification-badge.service + +uninstall: + rm -f $(PREFIX)/bin/notification-badge + rm -f $(HOME)/.config/systemd/user/notification-badge.service + -systemctl --user stop notification-badge.service 2>/dev/null + -systemctl --user disable notification-badge.service 2>/dev/null + +clean: + cargo clean -- cgit v1.2.3