diff options
| author | JackJ30 <jackqjamison@proton.me> | 2024-10-01 15:41:38 -0400 |
|---|---|---|
| committer | JackJ30 <jackqjamison@proton.me> | 2024-10-01 15:41:38 -0400 |
| commit | 87d1769dcbdd5fe5e5ebde8f2bc6e490611947cb (patch) | |
| tree | 8ae44369af3c2b05bf64b47dde51b42dc47ad400 /scripts | |
| parent | e4d544ff68a1885be156230afae09d0f96024c9e (diff) | |
I'm going through changes
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/restartsearxng | 3 | ||||
| -rwxr-xr-x | scripts/startup | 1 | ||||
| -rwxr-xr-x | scripts/yt-dla | 8 | ||||
| -rw-r--r-- | scripts/yt-dlv | 8 |
4 files changed, 20 insertions, 0 deletions
diff --git a/scripts/restartsearxng b/scripts/restartsearxng new file mode 100755 index 0000000..0593803 --- /dev/null +++ b/scripts/restartsearxng @@ -0,0 +1,3 @@ +#!/bin/sh +pkill -x uwsgi +uwsgi --ini $HOME/opt/searxng/searxng.ini diff --git a/scripts/startup b/scripts/startup index f69b35f..46e4c17 100755 --- a/scripts/startup +++ b/scripts/startup @@ -1,5 +1,6 @@ #!/bin/sh gpgconf -K gpg-agent +restartsearxng & restartemacs >/dev/null & pipewire & mpd & diff --git a/scripts/yt-dla b/scripts/yt-dla new file mode 100755 index 0000000..f87f145 --- /dev/null +++ b/scripts/yt-dla @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "$1" +if [ -z "$1" ] ; then + echo "usage: $0 [url of youtube video]" + exit 1 +fi +yt-dlp -x --audio-format mp3 --audio-quality 0 "$1" diff --git a/scripts/yt-dlv b/scripts/yt-dlv new file mode 100644 index 0000000..6b96b4e --- /dev/null +++ b/scripts/yt-dlv @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "$1" +if [ -z "$1" ] ; then + echo "usage: $0 [url of youtube video]" + exit 1 +fi +yt-dlp "$1"
\ No newline at end of file |
