This commit is contained in:
simio 2025-01-14 02:13:46 -03:00
parent d89830aa06
commit d1d7dd3126
3 changed files with 15 additions and 0 deletions

2
.local/bin/catboxupload Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
~/.scripts/bashed-catbox.sh file -s "$1" | xclip -d

View File

@ -0,0 +1,8 @@
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config checkout --orphan newBranch
config add -A # Add all files and commit them
config commit -m "reinit"
config branch -D master # Deletes the master branch
config branch -m master # Rename the current branch to master
config push -f origin master # Force push master branch to github
config gc --aggressive --prune=all # remove the old files

5
.scripts/ytdl-song-upload.sh Executable file
View File

@ -0,0 +1,5 @@
mkdir ~/.tmp
cd ~/.tmp
FILENAME="$(yt-dlp --extract-audio --audio-format mp3 --print filename "$1")"
catboxupload "$FILENAME"
rm "$FILENAME"