From 66b665cf738b48f13571a3f595717470b7a5ecb3 Mon Sep 17 00:00:00 2001 From: Jaroslaw Konik Date: Fri, 27 Mar 2026 10:53:01 +0100 Subject: [PATCH] Update --- .bashrc | 2 -- downloadsong | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.bashrc b/.bashrc index 310a63f..af99afa 100644 --- a/.bashrc +++ b/.bashrc @@ -1,4 +1,3 @@ -# # ~/.bashrc # @@ -20,7 +19,6 @@ export SSH_ASKPASS_REQUIRE=prefer export LUA_INIT=@$HOME/src/dotfiles/lua_init.lua # PS1='[\u@\h \W]\$ ' -starship_precmd eval "$(starship init bash)" echo "You are not here to produce." diff --git a/downloadsong b/downloadsong index 53d17a4..6c1cc01 100755 --- a/downloadsong +++ b/downloadsong @@ -1,3 +1,3 @@ -#!/bin/bash -INPUT=$(termux-dialog -t "Enter Spotify URL or song name" | jq -r '.text') -spotdl "$INPUT" --output ~/storage/music +#!/bin/sh + +yt-dlp --embed-metadata -x --audio-format aac -f bestaudio "$1" -o "~/Music/%(artist)s - %(title)s.%(ext)s"