RSS Reader and design update

This commit is contained in:
2024-05-02 18:30:14 +01:00
parent 993ea82a9e
commit a2e6268c41
4 changed files with 65 additions and 7 deletions

42
dotfiles/.newsboat/config Normal file
View File

@@ -0,0 +1,42 @@
# general settings
auto-reload yes
max-items 50
show-read-articles no
show-read-feeds yes
reload-threads 100
# externel browser
browser "/usr/local/bin/w3m %u"
macro m set browser "/usr/local/bin/mpv %u"; open-in-browser ; set browser "/usr/local/bin/w3m %u"
macro l set browser "/usr/local/bin/firefox %u"; open-in-browser ; set browser "/usr/local/bin/w3m %u"
# Keybinds
bind-key h quit
bind-key j down
bind-key k up
bind-key l open
bind-key H prev-feed
bind-key L next-feed
bind-key g home
bind-key G end
bind-key SPACE macro-prefix
bind-key b bookmark
bind-key ^F pagedown
bind-key ^B pageup
bind-key ^H toggle-show-read-feeds
# theme
color background default default
color listnormal default default
color listnormal_unread default default
color listfocus black color167
color listfocus_unread black color167
color info default black
color article default default
# highlights
highlight article "^(Title):.*$" blue default
highlight article "https?://[^ ]+" red default
highlight article "\\[image\\ [0-9]+\\]" green default

16
dotfiles/.newsboat/urls Normal file
View File

@@ -0,0 +1,16 @@
https://www.linux.com/feed/ "Linux News"
http://www.debian.org/News/news "Linux News"
https://thisweek.gnome.org/index.xml "Linux News"
https://archlinux.org/feeds/news/ "Linux News"
https://9to5linux.com/feed "Linux News"
https://postmarketos.org/blog/feed.atom "Linux News"
https://www.youtube.com/feeds/videos.xml?channel_id=UCbKWv2x9t6u8yZoB3KcPtnw "YouTube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "YouTube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCg6gPGh8HU2U01vaFCAsvmQ "YouTube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCMHZ1P2iYimObhtHKfPz7gw "YouTube"
https://www.youtube.com/feeds/videos.xml?channel_id=UCUMwY9iS8oMyWDYIe6_RmoA "YouTube"
https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "YouTube"
https://christitus.com/index.xml
https://www.apple.com/newsroom/rss-feed.rss
https://9to5google.com/feed/
https://preprod.9to5mac.com/feed/

View File

@@ -9,21 +9,21 @@ bind-key b split-window
set-window-option -g window-status-style fg=colour244,bg=default,dim
# active window title colors
set-window-option -g window-status-current-style fg=orange,bg=default,bright
set-window-option -g window-status-current-style fg=color167,bg=default,bright
# pane border
set-option -g pane-border-style fg=colour236
set-option -g pane-active-border-style fg=orange
set-option -g pane-active-border-style fg=color167 # orange
# message text
set-option -g message-style bg=colour235,fg=orange
set-option -g message-style bg=colour235,fg=color167
# pane number display
set-option -g display-panes-active-colour blue
set-option -g display-panes-colour orange
set-option -g display-panes-colour color167
# clock
set-window-option -g clock-mode-colour orange
set-window-option -g clock-mode-colour color167
# Leader Key
set -g prefix C-a

View File

@@ -15,10 +15,10 @@ fi
paru -Sy curl git stow bat fzf less nextcloud-client
# Install Apps
paru -Sy obsidian signal-desktop newsflash eyedropper gnome-console gnome-calendar impression gnome-podcasts brave-bin
paru -Sy obsidian signal-desktop eyedropper gnome-console gnome-calendar impression gnome-podcasts brave-bin
# Install CLI Apps
paru -Sy iamb tmux ollama vim transmission-cli mutt gpg pass
paru -Sy w3m newsboat iamb tmux ollama vim transmission-cli mutt gpg pass
if [ $(pwd) != "$HOME/dotfiles" ]; then
cd $HOME