mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-16 20:02:47 +00:00
fish: adjust ytflux and clean for -w home
This commit is contained in:
parent
557f5cc69b
commit
939636914e
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue