From a2e6268c4118afc9f6b5ffc99650f1ecbe7b05b1 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 2 May 2024 18:30:14 +0100 Subject: [PATCH] RSS Reader and design update --- dotfiles/.newsboat/config | 42 +++++++++++++++++++++++++++++++++++++++ dotfiles/.newsboat/urls | 16 +++++++++++++++ dotfiles/.tmux.conf | 10 +++++----- install.sh | 4 ++-- 4 files changed, 65 insertions(+), 7 deletions(-) create mode 100644 dotfiles/.newsboat/config create mode 100644 dotfiles/.newsboat/urls diff --git a/dotfiles/.newsboat/config b/dotfiles/.newsboat/config new file mode 100644 index 00000000..b1b52730 --- /dev/null +++ b/dotfiles/.newsboat/config @@ -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 + diff --git a/dotfiles/.newsboat/urls b/dotfiles/.newsboat/urls new file mode 100644 index 00000000..86c85d36 --- /dev/null +++ b/dotfiles/.newsboat/urls @@ -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/ diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index dbcd27c6..b3a89ce6 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -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 diff --git a/install.sh b/install.sh index 8bc57e5c..fdb3c24e 100755 --- a/install.sh +++ b/install.sh @@ -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