punktdateien/eww/scripts/get-music.sh
2023-12-08 17:33:11 +01:00

2 lines
No EOL
126 B
Bash
Executable file

#!/bin/bash
playerctl metadata --format '{{ title }} ({{ duration(position) }}/{{ duration(mpris:length) }})'|sed 's/\.ogg//g'