punktdateien/eww/scripts/get-music.sh

2 lines
126 B
Bash
Raw Normal View History

2023-12-08 17:33:11 +01:00
#!/bin/bash
playerctl metadata --format '{{ title }} ({{ duration(position) }}/{{ duration(mpris:length) }})'|sed 's/\.ogg//g'