asd
This commit is contained in:
parent
d89830aa06
commit
d1d7dd3126
2
.local/bin/catboxupload
Executable file
2
.local/bin/catboxupload
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
~/.scripts/bashed-catbox.sh file -s "$1" | xclip -d
|
8
.scripts/reset-config-and-remote.sh
Executable file
8
.scripts/reset-config-and-remote.sh
Executable 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
5
.scripts/ytdl-song-upload.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
mkdir ~/.tmp
|
||||||
|
cd ~/.tmp
|
||||||
|
FILENAME="$(yt-dlp --extract-audio --audio-format mp3 --print filename "$1")"
|
||||||
|
catboxupload "$FILENAME"
|
||||||
|
rm "$FILENAME"
|
Loading…
Reference in New Issue
Block a user