summaryrefslogtreecommitdiff
path: root/now-playing-lyrics
blob: ce6892f59e5ae5954fb58d9ef481ff8353be9410 (plain)
1
2
3
4
5
6
7
8
9
10
11
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\""