Files
solorice/config/eww/scripts/get-music
2024-10-20 20:18:53 +03:00

6 lines
140 B
Bash
Executable File

#!/bin/bash
title="$(sp metadata | rg title| cut -d'|' -f2)"
artist="$(sp metadata | rg artist | cut -d'|' -f2)"
echo "$artist" - "$title"