docs: add readme

This commit is contained in:
Viktor Varland 2025-04-03 09:50:59 +02:00
parent 1c1160eb00
commit 2976317d6e
Signed by: varl
GPG key ID: 7459F0B410115EE8

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# notice
Basic text-based D-Bus notification handler that outputs JSON compatible
with Waybar.
## waybar integration
In `.config/waybar/config.jsonc`:
```jsonc
"custom/notifications": {
"format": "{}",
"max-length": 64,
"hide-empty-text": true,
"return-type": "json",
"exec": "/path/to/notice",
}
```