summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/newsboat/config11
-rwxr-xr-x.local/bin/linkview2
2 files changed, 4 insertions, 9 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
index 7b487a0..918080a 100644
--- a/.config/newsboat/config
+++ b/.config/newsboat/config
@@ -40,12 +40,8 @@ bind-key v show-urls
bind-key x pb-delete
bind-key ^t next-unread
-# color listnormal white default
-# color listfocus black white standout
-# color listnormal_unread red default bold
-# color listfocus_unread red black bold
-# color info yellow black bold
-# color article default default
+ignore-article "*" "title =~ \"#shorts$\""
+ignore-article "*" "link =~ \"/short/\""
color background default default
color listnormal default default dim
@@ -64,7 +60,7 @@ macro a set browser "youtube-dl --add-metadata -xic -f bestaudio/best"; open-in-
macro v set browser "linkview"; open-in-browser ; set browser linkhandler
macro w set browser "linkview"; open-in-browser ; set browser linkhandler
-datetime-format "%D %H:%M"
+datetime-format "%y-%m-%d %H:%M"
articlelist-format "%D - %t"
feedlist-format "%?T?%n%9u %t [%T]&#%-8t----------------------------------------------------------?"
@@ -79,7 +75,6 @@ highlight article ":.*\\(link\\)$" cyan default
highlight article ":.*\\(image\\)$" blue default
highlight article ":.*\\(embedded flash\\)$" magenta default
-
highlight feedlist ".*(0/0))" black
highlight feedlist ".* \\[(news|tech|normies|gaming|space|skate|music)\\]$" default default dim
highlight feedlist "^N.* \\[news\\]$" blue default bold
diff --git a/.local/bin/linkview b/.local/bin/linkview
index bc53897..b66022a 100755
--- a/.local/bin/linkview
+++ b/.local/bin/linkview
@@ -460,7 +460,7 @@ sub linkview
{
my $answer;
- if (@ARGV == 0) {
+ if (@ARGV == 0 || $ARGV[0] eq "") {
print STDERR "linkview: no URL\n";
exit 1;
}