diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-06-22 02:26:08 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-06-22 02:26:08 +0100 |
commit | a89353eeb8727e31baa6093817be37583a34c41e (patch) | |
tree | 8267afbbd58d20cad7a330fb7a67393b998cd13e /Scripts/.local/scripts | |
parent | 3ef303fb670303571999aa5b9765ea91ad02ce56 (diff) | |
download | dotfiles-a89353eeb8727e31baa6093817be37583a34c41e.tar.gz dotfiles-a89353eeb8727e31baa6093817be37583a34c41e.tar.bz2 dotfiles-a89353eeb8727e31baa6093817be37583a34c41e.zip |
Tons of changes
Diffstat (limited to 'Scripts/.local/scripts')
-rwxr-xr-x | Scripts/.local/scripts/status/connection | 3 | ||||
-rwxr-xr-x | Scripts/.local/scripts/ytdl_playlist | 2 |
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 |