#!/bin/bash TTIME=$(playerctl metadata --format '{{position}}') printf "%d:%02d\n" $(( $TTIME / 60000000 )) $(( ( $TTIME / 1000000) % 60 ))