diff options
Diffstat (limited to 'config')
| -rwxr-xr-x | config/common/mpv/mpv.conf | 2 | ||||
| -rw-r--r-- | config/essentials/shell/functions.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/common/mpv/mpv.conf b/config/common/mpv/mpv.conf index a6a16d8..f6a1865 100755 --- a/config/common/mpv/mpv.conf +++ b/config/common/mpv/mpv.conf @@ -20,4 +20,4 @@ screenshot-directory=~/pics/screenshots/mpv screenshot-template="%F - [%P]v%#01n" sub-pos=92 -sub-scale=60 +sub-scale=.60 diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index ef745c9..f0ee134 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -70,8 +70,8 @@ rln() { ln -s "$(readlink -f "$1")" "$2"; } getgit() { git clone git@db:"$1"; } esc() { eval "$EDITOR '$(which $1)'"; } ssh_keyadd() { ssh-keygen -f "$HOME"/.ssh/"$1" -P "$(pass generate -f keys/"$HOST"/ssh/"$1" | tail -n 1)" -t ed25519; } -delfile() { curl -s -L "${2:-https://upfast.cronyakatsuki.xyz/delete/$1}"; } -upfile() { curl -s -L -F "file=@\"$1\"" "${2:-https://0x0.st}"; } +delfile() { curl -s -X DELETE -L "${2:-https://upfast.cronyakatsuki.xyz/files/$1}"; } +upfile() { curl -s -L -F "file=@\"$1\"" "${2:-https://upfast.cronyakatsuki.xyz}"; } upfile-dufs() { curl -T "$1" http://192.168.178.79:5000/"$1"; } delfile-dufs() { curl -X DELETE http://192.168.178.79:5000/"$1"; } getfile-dufs() { curl http://192.168.178.79:5000/"$1"; } |
