summaryrefslogtreecommitdiff
path: root/via-feed
diff options
context:
space:
mode:
Diffstat (limited to 'via-feed')
-rwxr-xr-xvia-feed11
1 files changed, 9 insertions, 2 deletions
diff --git a/via-feed b/via-feed
index ff9701d..d0d2544 100755
--- a/via-feed
+++ b/via-feed
@@ -5,8 +5,15 @@ cache="$HOME/.cache/via"
if [[ "$1" == "-r" ]] || [[ ! -e "$cache" ]]; then
cat "$HOME/.config/via/shortcuts" > "$cache"
cat "$HOME/.config/via/websites" >> "$cache"
- find "$HOME" -mindepth 1 \( -type d -name ".*" ! -path "$HOME/.scripts" -o -path "$HOME/cell" -o -path "$HOME/phone/*" \) -prune -o -print | sort >> "$cache"
- # notify-send "via cache updated."
+ find "$HOME" -mindepth 1 \
+ \( \
+ -type d -name ".*" ! -path "$HOME/.scripts" \
+ -o -path "$HOME/cell" \
+ -o -path "$HOME/phone/*" \
+ \) -prune \
+ -o -print \
+ | sort >> "$cache"
+ # notify-send "via cache updated."
fi
if [ "$CRON" = "1" ]; then