summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/news
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/news')
-rwxr-xr-x.local/bin/statusbar/news3
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/statusbar/news b/.local/bin/statusbar/news
index 28b2940..455f64d 100755
--- a/.local/bin/statusbar/news
+++ b/.local/bin/statusbar/news
@@ -1,13 +1,12 @@
#!/bin/sh
-# i3blocks newsboat module.
# Displays number of unread news items and an loading icon if updating.
# When clicked, brings up `newsboat`.
case $BLOCK_BUTTON in
1) setsid "$TERMINAL" -e newsboat ;;
2) setsid newsup >/dev/null & exit ;;
- 3) pgrep -x dunst >/dev/null && notify-send "📰 News module" "\- Shows unread news items
+ 3) notify-send "📰 News module" "\- Shows unread news items
- Shows 🔃 if updating with \`newsup\`
- Left click opens newsboat
- Middle click syncs RSS feeds