Subreddit
Displays stories from a specific subreddit.
Configuration
subreddit:
enabled: true
numberOfPosts: 10
position:
top: 4
left: 1
height: 1
width: 2
refreshInterval: 15m
sortOrder: top
subreddit: "news"
topTimePeriod: month
Screenshots
Attributes
Name | Value |
---|---|
numberOfPosts
Optional Defines number of stories to be displayed. Default: 10 . Note that the module only makes one request, so the maximum is 25.
|
Any positive integer equal to or less than 25. |
sortOrder
Optional Defines the order to sort the posts in the subreddit. Default: hot .
|
new , top , hot |
subreddit
The subreddit to display links from. |
|
topTimePeriod
Optional Defines the time period to choose top posts from. Default: all .
|
hour , day , week , month , year , all |
Keyboard
Key | Action |
---|---|
/ |
Open/close the widget's help modal |
[return] |
Open the selected link in the browser |
c |
Open the selected link's Reddit comments in the browser |
j |
Select the next item in the list |
k |
Select the previous item in the list |
o |
Open the selected link in the browser |
r |
Refresh the data |
↓ |
Select the next item in the list |
↑ |
Select the previous item in the list |
Source Code
https://github.com/wtfutil/wtf/tree/master/modules/subreddit