docs: add readme
This commit is contained in:
parent
1c1160eb00
commit
2976317d6e
18
README.md
Normal file
18
README.md
Normal 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",
|
||||||
|
}
|
||||||
|
```
|
||||||
Loading…
Reference in a new issue