summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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