aboutsummaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-06-22 02:26:08 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-06-22 02:26:08 +0100
commita89353eeb8727e31baa6093817be37583a34c41e (patch)
tree8267afbbd58d20cad7a330fb7a67393b998cd13e /Scripts
parent3ef303fb670303571999aa5b9765ea91ad02ce56 (diff)
downloaddotfiles-a89353eeb8727e31baa6093817be37583a34c41e.tar.gz
dotfiles-a89353eeb8727e31baa6093817be37583a34c41e.tar.bz2
dotfiles-a89353eeb8727e31baa6093817be37583a34c41e.zip
Tons of changes
Diffstat (limited to '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