1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-27 10:31:30 +00:00
Dotfiles/.config/polybar/polybar-scripts/notification-reddit
2020-07-27 07:59:00 +03:00
..
screenshots add all dotfiles 2020-07-27 07:59:00 +03:00
notification-reddit.sh add all dotfiles 2020-07-27 07:59:00 +03:00
README.md add all dotfiles 2020-07-27 07:59:00 +03:00

Script: notification-reddit

A script that shows if there are unread mails in your reddit inbox.

notification-reddit

Dependencies

  • curl
  • jq

Configuration

Open 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

[module/notification-reddit]
type = custom/script
exec = ~/polybar-scripts/notification-reddit.sh
interval = 60