Initial commit

This commit is contained in:
2021-04-01 12:25:30 +02:00
commit 9f3de35a74
6 changed files with 36 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
cache.db
cache.db.lock
history.cmdline

17
config Normal file
View File

@ -0,0 +1,17 @@
auto-reload yes
reload-time 5
reload-threads 100
browser "nohup firefox '%u' > /dev/null 2>&1&"
macro y set browser "nohup mpv --x11-name=noSwallow '%u' > /dev/null 2>&1&" ; open-in-browser ; set browser "nohup firefox '%u' > /dev/null 2>&1&"
unbind-key h
unbind-key j
unbind-key k
unbind-key l
bind-key h quit
bind-key j down
bind-key k up
bind-key l open
unbind-key g # bound to `sort` by default
bind-key g home
unbind-key G # bound to `rev-sort` by default
bind-key G end

1
github-issue-exclude Normal file
View File

@ -0,0 +1 @@
themoonisacheese/2bored2wait

3
github-issue-search Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
feeds=`grep -Po '(?<=href=")[^"]*' < /dev/stdin |uniq -u |grep -vf ~/.newsboat/github-issue-exclude |awk -F / '{ if($4 == "issues") { printf "%s", "&f=http%3A%2F%2Flocalhost%3A10992%2Findex.php%3Faction%3Ddisplay%26bridge%3DGithubIssue%26context%3DIssue+comments%26i%3D"$5"%26u%3D"$2"%26p%3D"$3"%26format%3DAtom"} }'`
curl -s "http://localhost:8000/atom?n=0$feeds"

3
github-pullrequest-search Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
feeds=`grep -Po '(?<=href=")[^"]*' < /dev/stdin |uniq -u |grep -vf ~/.newsboat/github-issue-exclude |awk -F / '{ if($4 == "pull") { printf "%s", "&f=http%3A%2F%2Flocalhost%3A10992%2Findex.php%3Faction%3Ddisplay%26bridge%3DGithubPullRequest%26context%3DPull%2BRequest%2Bcomments%26i%3D"$5"%26u%3D"$2"%26p%3D"$3"%26format%3DAtom"} }'`
curl -s "http://localhost:8000/atom?n=0$feeds"

9
urls Normal file
View File

@ -0,0 +1,9 @@
# Video
https://videos.lukesmith.xyz/feeds/videos.atom?videoChannelId=2 video
# mentaloutlaw https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA video
# git
http://localhost:10992/index.php?action=display&bridge=GithubIssue&context=Project+Issues&c=on&u=themoonisacheese&p=2bored2wait&format=Atom git
filter:~/.newsboat/github-issue-search:https://github.com/search?o=desc&q=involves%3AMrGeorgen+is%3Aissue&s=updated&type=Issues git "~Github Issues"
filter:~/.newsboat/github-pullrequest-search:https://github.com/search?o=desc&q=involves%3AMrGeorgen+is%3Apr&s=updated&type=Issues git "~Github Pull requests"
http://localhost:10992/index.php?action=display&bridge=GithubPullRequest&context=Project+Pull+Requests&c=on&u=themoonisacheese&p=2bored2wait&format=Atom git