22 lines
No EOL
381 B
Markdown
22 lines
No EOL
381 B
Markdown
# notipriv
|
|
UnifiedPush message sender.
|
|
|
|
## Install
|
|
1. `cargo install notipriv` to install notipriv
|
|
2. `notipriv config` to configure the endpoint
|
|
3. Add alias in `~/.bashrc` or `~/.zshrc`
|
|
```sh
|
|
alias nr="notipriv run --"
|
|
alias ns="notipriv send"
|
|
```
|
|
|
|
## Usage
|
|
To send a notification:
|
|
```sh
|
|
ns "message"
|
|
```
|
|
|
|
To run a command and send a notification at the end:
|
|
```sh
|
|
nr command
|
|
``` |