diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
| commit | ef7c1605a027b52bbff1b01ea693b60f53fa3a71 (patch) | |
| tree | 1089334258aefbd459d18cf6968e78f1194739b0 /now-playing-lyrics | |
initial commit
Diffstat (limited to 'now-playing-lyrics')
| -rwxr-xr-x | now-playing-lyrics | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/now-playing-lyrics b/now-playing-lyrics new file mode 100755 index 0000000..ce6892f --- /dev/null +++ b/now-playing-lyrics @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +lyrics_directory="$HOME/.config/mpd/lyrics" + +current_song=$(mpc current -f "[%artist% - ]%title%") +# filename=$(basename "$current_song") + +current_lyrics_file_path="$lyrics_directory/$current_song".txt + +# tmux splitw -h "cat \"$current_lyrics_file_path\"; read" +st -c "lyrics" -g "60x51+2655+20" -e "$SHELL" -c "less \"$current_lyrics_file_path\"" + |
