mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-12-01 19:06:41 +00:00
29 lines
534 B
Markdown
29 lines
534 B
Markdown
# Script: notification-reddit
|
|
|
|
A script that shows if there are unread mails in your reddit inbox.
|
|
|
|
![notification-reddit](screenshots/1.png)
|
|
|
|
|
|
## Dependencies
|
|
|
|
* `curl`
|
|
* `jq`
|
|
|
|
|
|
## Configuration
|
|
|
|
Open [reddit.com/prefs/feeds/](https://www.reddit.com/prefs/feeds/). Copy the `JSON` link from `your inbox` > `unread messages`.
|
|
|
|
Add your username at the end of `USERAGENT` to create a unique string.
|
|
|
|
|
|
## Module
|
|
|
|
```ini
|
|
[module/notification-reddit]
|
|
type = custom/script
|
|
exec = ~/polybar-scripts/notification-reddit.sh
|
|
interval = 60
|
|
```
|