dotfiles/de/home/.config/eww/scripts/home/nowplaying-info.sh
2025-07-18 15:45:01 -07:00

15 lines
421 B
Bash
Executable file

#!/bin/bash
#playerctl --follow metadata --format '{{ title }}' | {
playerctl metadata --format '{{ title }}\n{{ artist }}'
#playerctl metadata --format '{{ title }}\n{{ artist }}' | {
# while read -r nowplaying_title; do
# if [ ${#nowplaying_title} -ge 45 ];then
# echo "${nowplaying_title:0:40}…"
# else
# echo "${nowplaying_title}"
# fi
# echo "${nowplaying_title}" | head -c 50;
# done
#}