dwmblocks: update scripts to work with nerdfont, requiring trailing space, updated internet script to allow for WWAN

This commit is contained in:
2025-08-08 11:27:53 +02:00
parent a4a1f44e4e
commit 4779d4f566
4 changed files with 20 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
num="$(newsboat -x print-unread | cut -f1 -d ' ' )"
if ! pgrep newsboat > /dev/null ; then
[ "$num" -gt 0 ] 2>/dev/null && printf "%s" "$num"
[ "$num" -gt 0 ] 2>/dev/null && printf " %s" "$num"
printf '\n'
fi