aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/.local/scripts')
-rwxr-xr-xScripts/.local/scripts/status/connection3
-rwxr-xr-xScripts/.local/scripts/ytdl_playlist2
2 files changed, 1 insertions, 4 deletions
diff --git a/Scripts/.local/scripts/status/connection b/Scripts/.local/scripts/status/connection
index 277dedf..f2e6fb4 100755
--- a/Scripts/.local/scripts/status/connection
+++ b/Scripts/.local/scripts/status/connection
@@ -5,9 +5,6 @@ if [[ $internet == "connected" ]]
then
con=$(nmcli | grep "connected to" | sed "s/.*: connected to \(.*\)/\1/g")
echo "" $con
-elif [[ $internet == "disconnected" ]]
-then
- echo ""
else
echo " Not Connected"
fi
diff --git a/Scripts/.local/scripts/ytdl_playlist b/Scripts/.local/scripts/ytdl_playlist
index b6dece7..9d22289 100755
--- a/Scripts/.local/scripts/ytdl_playlist
+++ b/Scripts/.local/scripts/ytdl_playlist
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
-youtube-dl -x --audio-format mp3 -o '%(artist)s - %(track)s.%(ext)s' $1
+youtube-dl -f bestvideo+bestaudio mp3 -o '%(track)s.%(ext)s' $1