From 939636914ec739b02694a494698b310e3cd722f0 Mon Sep 17 00:00:00 2001 From: Phantop Date: Mon, 13 Nov 2023 13:44:36 -0500 Subject: [PATCH] fish: adjust ytflux and clean for -w home --- bin/clean | 2 +- fish/functions/ytflux.fish | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/clean b/bin/clean index 76e1586..b120f3a 100755 --- a/bin/clean +++ b/bin/clean @@ -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') diff --git a/fish/functions/ytflux.fish b/fish/functions/ytflux.fish index b114717..1ad666f 100644 --- a/fish/functions/ytflux.fish +++ b/fish/functions/ytflux.fish @@ -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