diff options
| author | filip <“filip.rabiega@gmail.com”> | 2025-11-12 09:54:05 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2025-11-12 09:54:05 +0100 |
| commit | a5a501116087587e043d9c682de28f5297059c55 (patch) | |
| tree | bb9b53aee71e7f8febe457e595e5ef447d2fc464 /fz-feed | |
| parent | 563c858d140b2854bbb130caacb44cfed81ad837 (diff) | |
| download | chadscripts-a5a501116087587e043d9c682de28f5297059c55.tar.gz chadscripts-a5a501116087587e043d9c682de28f5297059c55.tar.bz2 chadscripts-a5a501116087587e043d9c682de28f5297059c55.zip | |
no message
Diffstat (limited to 'fz-feed')
| -rwxr-xr-x | fz-feed | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/sh + +cache="$HOME/.cache/fz" + +if [ "$1" = "-r" ] || [ ! -e "$cache" ]; then + find "$HOME" -mindepth 1 \( -name ".*" -o -path "$HOME/cell" -o -path "$HOME/phone/*" \) -prune -o -print | \ + sed '/\.pdf$/!d' | sort > "$cache" + + notify-send "fz cache updated." +fi + +cat "$cache" |
