Commit ee9b70c
chasinglightning
·
2025-01-10 16:44:28 -0500 EST
parent 03e8bd4
add getlyr script by me
1 files changed,
+9,
-0
+9,
-0
| ... | ... | @@ -0,0 +1,9 @@ | |
| 1 | + | #!/bin/bash | |
| 2 | + | ||
| 3 | + | artist=$(gum input --placeholder artist | awk '{$1=$1}1' OFS="+") | |
| 4 | + | ||
| 5 | + | song=$(gum input --placeholder song | awk '{$1=$1}1' OFS="+") | |
| 6 | + | ||
| 7 | + | echo -e $(gum style --italic --foreground "#f4b8e4" "'$artist', '$song'") | |
| 8 | + | ||
| 9 | + | curl -s https://api.lyrics.ovh/v1/"$artist"/"$song" | jq -r .lyrics | less |