summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-10-06 05:41:29 +0200
committerjoe <rbo@gmx.us>2025-10-06 05:41:29 +0200
commitb30dab3ca7e7631080fc8ad9357bff63cc38eafa (patch)
treeb25c365bc45725ed3cd666b7bfaa4cbb7b88192c /.local/bin
parentup (diff)
downloaddotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.gz
dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.bz2
dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.xz
dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.tar.zst
dotfiles-bsd-b30dab3ca7e7631080fc8ad9357bff63cc38eafa.zip
up
Diffstat (limited to '')
-rwxr-xr-x.local/bin/fetch_sfeed6
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