diff options
author | joe <rbo@gmx.us> | 2025-10-06 05:41:29 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-10-06 05:41:29 +0200 |
commit | b30dab3ca7e7631080fc8ad9357bff63cc38eafa (patch) | |
tree | b25c365bc45725ed3cd666b7bfaa4cbb7b88192c | |
parent | up (diff) | |
download | dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.gz dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.bz2 dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.xz dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.zst dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.zip |
up
-rwxr-xr-x | .local/bin/fetch_sfeed | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/fetch_sfeed b/.local/bin/fetch_sfeed index 0800db1..b89db72 100755 --- a/.local/bin/fetch_sfeed +++ b/.local/bin/fetch_sfeed @@ -1,8 +1,8 @@ #!/bin/sh -pre=$(wc -l --total=only /home/jozan/.local/share/sfeed/feeds/*) -sfeed_update /home/jozan/.config/sfeed/sfeedrc >/dev/null 2>&1 -post=$(wc -l --total=only /home/jozan/.local/share/sfeed/feeds/*) +pre=$(wc -l --total=only $XDG_DATA_HOME/sfeed/feeds/*) +sfeed_update $XDG_CONFIG_HOME/sfeed/sfeedrc +post=$(wc -l --total=only $XDG_DATA_HOME/sfeed/feeds/*) if [ $post -gt $pre ]; then exec herbe " $((post-pre)) new articles" & fi |