dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 18a143acbad1da52a446d81c37c99317bebb6f8a
Parent: e71dab28f9b5340994aa65fefddffa5efac4aa5f
Author: Randy Palamar
Date:   Sun, 14 May 2023 16:21:13 -0600

sfeed_dmenu: strip empty lines before piping to dmenu

Diffstat:
Mbin/sfeed_dmenu | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/sfeed_dmenu b/bin/sfeed_dmenu @@ -24,7 +24,7 @@ for arg; do list="$(unread "$sfeedpath/*")\n$list" done -url=$(echo "$list" | dmenu -l 15 | cut -f 3) +url=$(echo "$list" | grep -v "^$" | dmenu -l 15 | cut -f 3) [ -n "$url" ] || exit 0 echo "$url" | sfeed_markread read echo "$url"