Add/update functions
This commit is contained in:
parent
12bc8dff99
commit
aed12ad223
|
@ -0,0 +1,9 @@
|
|||
local -a urls
|
||||
local -a fetch
|
||||
local page=0
|
||||
while [ ${page} -eq 0 ] || [ ${#fetch} -eq 100 ]; do
|
||||
fetch=($(curl -sZSGL "https://gelbooru.com/index.php?q=index&s=post&page=dapi&json=1&pid=$page&tags=${1}" | jq -r ".[].file_url"))
|
||||
urls+=($fetch)
|
||||
page=$(($page + 1))
|
||||
done
|
||||
[ ${#urls} -gt 0 ] && curl -L\# --remote-name-all $urls
|
|
@ -0,0 +1 @@
|
|||
busctl call --no-pager --user org.mpris.MediaPlayer2.mpv /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player OpenUri s "$1"
|
|
@ -0,0 +1 @@
|
|||
curl -F'file=@-' $@
|
|
@ -0,0 +1 @@
|
|||
git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
|
Loading…
Reference in New Issue