diff options
Diffstat (limited to '.local/bin/statusbar/news')
| -rwxr-xr-x | .local/bin/statusbar/news | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.local/bin/statusbar/news b/.local/bin/statusbar/news index 65ae7fd..ffaadfb 100755 --- a/.local/bin/statusbar/news +++ b/.local/bin/statusbar/news @@ -11,6 +11,7 @@ case $BLOCK_BUTTON in - Left click opens newsboat - Middle click syncs RSS feeds <b>Note:</b> Only one instance of newsboat (including updates) may be running at a time." ;; + 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ print "📰 " $1}' | sed 's/^📰 0$//g')$(cat ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/.update 2>/dev/null)" |
