mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-12-03 20:06:37 +00:00
25 lines
435 B
Markdown
25 lines
435 B
Markdown
# Script: notification-mattermost
|
|
|
|
A small script that shows your unread Mattermost messages and mentions.
|
|
|
|
|
|
## Dependencies
|
|
|
|
* `curl`
|
|
* `jq`
|
|
|
|
|
|
## Configuration
|
|
|
|
Generate a token at `Account Settings` > `Security` > `Personal Access Tokens`. You have to enable tokens in your server config.
|
|
|
|
|
|
## Module
|
|
|
|
```ini
|
|
[module/notification-mattermost]
|
|
type = custom/script
|
|
exec = ~/polybar-scripts/notification-mattermost.sh
|
|
interval = 60
|
|
```
|