summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/newsboat/config2
-rwxr-xr-x.local/bin/newsboat-notif2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/newsboat/config b/.config/newsboat/config
index 6b922be..942fa88 100644
--- a/.config/newsboat/config
+++ b/.config/newsboat/config
@@ -11,7 +11,7 @@ show-title-bar no
swap-title-and-hints no
notify-program ~/.local/bin/newsboat-notif
notify-always yes
-notify-format " <b>%d</b> new articles"
+notify-format "%d"
external-url-viewer "urlview"
diff --git a/.local/bin/newsboat-notif b/.local/bin/newsboat-notif
index a936306..d158563 100755
--- a/.local/bin/newsboat-notif
+++ b/.local/bin/newsboat-notif
@@ -1,3 +1,3 @@
#!/bin/sh
-notify-send -u low -t 4000 newsboat "$@"
+[ $1 -gt 0 ] && notify-send -u low -t 4000 newsboat " <b>$@</b> new articles"