summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-news
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 15:53:27 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 15:53:27 -0400
commit7c231155cecfa1964b3b9c7153a166cbeb9efa8b (patch)
treea99b2ce3e2ea28c13ea5b62060ea924952bcfa99 /.local/bin/dwmbar/dwmb-news
parentab1ca121adbeb0340e6c96267565866e99875261 (diff)
Debloat dwmblocks
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