dots


commit
ee9b70c
parent
03e8bd4
author
chasinglightning
date
2025-01-10 16:44:28 -0500 EST
add getlyr script by me
1 files changed,  +9, -0
A home/.local/bin/getlyr
+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