1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-12-01 19:06:41 +00:00
Dotfiles/.config/polybar/polybar-scripts/notification-reddit/README.md
2020-07-27 07:59:00 +03:00

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
```