aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-11-30 18:38:22 +0300
committerla-ninpre <leobrekalini@gmail.com>2021-11-30 18:38:22 +0300
commit4c9efd42894630e919c914f2d5d2828bc71b5e8e (patch)
tree94eca9a68fe1cbf5c4f03da613c2e4d0bc004565
parent523f2b38ee3682b68c7e255eaf5e0b23299e5587 (diff)
downloaddotfiles-4c9efd42894630e919c914f2d5d2828bc71b5e8e.tar.gz
dotfiles-4c9efd42894630e919c914f2d5d2828bc71b5e8e.zip
add newsboat configuration
-rw-r--r--README.md2
-rwxr-xr-xinstall3
-rw-r--r--newsboat/.config/newsboat/config15
-rw-r--r--newsboat/.config/newsboat/urls12
-rwxr-xr-xnewsboat/.local/bin/notify-newsboat5
5 files changed, 36 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8d5e959..11fbebd 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,8 @@ a list of programs that i have configurations for.
* moc
+* newsboat
+
* alacritty
* kitty
diff --git a/install b/install
index f17a945..f5bae30 100755
--- a/install
+++ b/install
@@ -2,7 +2,8 @@
# TODO: make this better. it really sucks.
-for prg in alacritty bin bash doom-emacs kitty moc mpd nvim starship xmonad
+for prg in alacritty bin bash doom-emacs kitty moc mpd nvim starship xmonad \
+ newsboat
do
stow -vDt ~ "$prg"
stow -vt ~ "$prg"
diff --git a/newsboat/.config/newsboat/config b/newsboat/.config/newsboat/config
new file mode 100644
index 0000000..61dc28e
--- /dev/null
+++ b/newsboat/.config/newsboat/config
@@ -0,0 +1,15 @@
+browser brave
+reload-threads 10
+
+notify-always yes
+notify-program "~/.local/bin/notify-newsboat"
+
+# color scheme
+highlight article "^(Title):.*$" green default bold
+highlight article "^(Feed):.*$" red default
+highlight article "^(Author):.*$" cyan default
+highlight article "^(Date):.*$" green default
+highlight article "https?://[^ ]+" blue default underline
+
+color info default color0
+color listfocus color11 color4
diff --git a/newsboat/.config/newsboat/urls b/newsboat/.config/newsboat/urls
new file mode 100644
index 0000000..a648b5e
--- /dev/null
+++ b/newsboat/.config/newsboat/urls
@@ -0,0 +1,12 @@
+https://git.sr.ht/~rabbits/uxn/log/main/rss.xml "git" "uxn"
+https://git.sr.ht/~rabbits/nasu/log/main/rss.xml "git" "uxn"
+https://git.sr.ht/~rabbits/noodle/log/main/rss.xml "git" "uxn"
+https://git.sr.ht/~rabbits/dexe/log/master/rss.xml "git" "uxn"
+https://git.sr.ht/~rabbits/orca-toy/log/main/rss.xml "git" "uxn"
+https://git.sr.ht/~rabbits/left/log/main/rss.xml "git" "uxn"
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "yt" # distrotube
+https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "yt" # brodie robertson
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA "yt" # mental outlaw
+https://www.youtube.com/feeds/videos.xml?channel_id=UCAYKj_peyESIMDp5LtHlH2A "yt" # unfa
+https://www.youtube.com/feeds/videos.xml?channel_id=UCv1Kcz-CuGM6mxzL3B1_Eiw "yt" # gardiner bryant
+https://www.youtube.com/feeds/videos.xml?channel_id=UCNypeTQAfb2pBA-BLPYK0kg "yt" # devine lu linvega
diff --git a/newsboat/.local/bin/notify-newsboat b/newsboat/.local/bin/notify-newsboat
new file mode 100755
index 0000000..10e94e7
--- /dev/null
+++ b/newsboat/.local/bin/notify-newsboat
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# this is specified in newsboat config as `notify-program`
+
+notify-send -t 5000 "newsboat" "$1"