fish: adjust ytflux and clean for -w home

This commit is contained in:
Phantop 2023-11-13 13:44:36 -05:00
parent 557f5cc69b
commit 939636914e
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#shellcheck disable=SC2046
yay -Scc
fc-cache -frvs
rm -r ~/.cache ~/.wine ~/.local/pipx/.cache/
rm -r ~/.cache/* ~/.wine/* ~/.local/pipx/.cache/
fish -c "j --purge"
doas journalctl --vacuum-size=1K
bleachbit -c $(bleachbit -l|rg -v 'system.free_disk_space|system.memory')

View File

@ -1,6 +1,6 @@
function ytflux
set cat 3
set entries (eval curl (cat ~/.miniflux)/entries?status=unread\&category_id=$cat | jq -r .entries[].url)
eval curl -X PUT (cat ~/.miniflux)/categories/$cat/mark-all-as-read
set entries (eval curl (cat ~/.config/miniflux)/entries?status=unread\&category_id=$cat | jq -r .entries[].url)
eval curl -X PUT (cat ~/.config/miniflux)/categories/$cat/mark-all-as-read
parallel -u yt-dlp ::: $entries
end