summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-news
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-news')
-rwxr-xr-x.local/bin/dwmbar/dwmb-news9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/dwmbar/dwmb-news b/.local/bin/dwmbar/dwmb-news
deleted file mode 100755
index b62c576..0000000
--- a/.local/bin/dwmbar/dwmb-news
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-nb=$(cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print " " $1}')$(cat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null) ")
-echo " $nb"
-case $BLOCK_BUTTON in
- 1) "$TERMINAL" -e newsboat ;;
- 3) newsup ;;
- 6) "$TERMINAL" -e "$EDITOR" "$0" ;;
-esac