summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/news
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-07 17:31:42 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-07 17:31:42 -0400
commit33e329c8cb44679c37054d1823ef487c2569fcdc (patch)
tree96e6e12e7ac894ba6af70bd5d0d15510113b3aac /.local/bin/statusbar/news
parentbaad9e0136890d8b894b0b0562466c112c5bcc43 (diff)
downloadeibhear-33e329c8cb44679c37054d1823ef487c2569fcdc.tar.gz
eibhear-33e329c8cb44679c37054d1823ef487c2569fcdc.tar.zst
eibhear-33e329c8cb44679c37054d1823ef487c2569fcdc.zip
statusbar scripts now open when shift-clicked
weather module "fixed" other minor statusbar script tweaks
Diffstat (limited to '.local/bin/statusbar/news')
-rwxr-xr-x.local/bin/statusbar/news1
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)"