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
 1@@ -0,0 +1,9 @@
 2+#!/bin/bash
 3+
 4+artist=$(gum input --placeholder artist | awk '{$1=$1}1' OFS="+")
 5+
 6+song=$(gum input --placeholder song | awk '{$1=$1}1' OFS="+")
 7+
 8+echo -e $(gum style --italic --foreground "#f4b8e4" "'$artist', '$song'")
 9+
10+curl -s https://api.lyrics.ovh/v1/"$artist"/"$song" | jq -r .lyrics | less