diff options
author | awy <awy@awy.one> | 2025-07-30 20:01:22 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-07-30 20:01:22 +0300 |
commit | eaac01e7d3dc26bccb67d39a07aea34343a97c3f (patch) | |
tree | 6a2752cdee8e4d5e053d799eb167c9e13e7783d8 /.local/bin/statusbar/sb-news | |
parent | f6c1a1929d4486675c7f586c4aff11421e79b6bc (diff) | |
download | hyprdots-eaac01e7d3dc26bccb67d39a07aea34343a97c3f.tar.gz |
update
Diffstat (limited to '.local/bin/statusbar/sb-news')
-rwxr-xr-x | .local/bin/statusbar/sb-news | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/sb-news b/.local/bin/statusbar/sb-news index 440de7c..bb45885 100755 --- a/.local/bin/statusbar/sb-news +++ b/.local/bin/statusbar/sb-news @@ -6,12 +6,12 @@ case $BLOCK_BUTTON in 1) setsid "$TERMINAL" -T newsboat -e newsboat >/dev/null 2>&1 ;; 2) setsid -f newsup >/dev/null && exit ;; - 3) notify-send "📰 News module" "\- Shows unread news items -- Shows 🔃 if updating with \`newsup\` + 3) notify-send "󰎕 News module" "\- Shows unread news items +- Shows  if updating with \`newsup\` - 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." ;; 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;; esac - bat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print "📰" $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null)" +bat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print "󰎕 " $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null)" |