Newer
Older
dotfiles / .config / eww / dashboard / scripts / ctime
@Edoko Edoko on 27 May 139 bytes initial commit
#!/bin/bash
TTIME=$(playerctl metadata --format '{{position}}')
printf "%d:%02d\n" $(( $TTIME / 60000000 )) $(( ( $TTIME / 1000000) % 60 ))