This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This script continuously outputs the currently playing song and play status. | |
# For use with i3blocks, polybar, yabar etc; to avoid polling | |
# Note that there is an MPRIS plugin to control and monitor MPV through | |
# DBUS, at https://github.com/hoyon/mpv-mpris | |
# See also: | |
# https://github.com/mariusor/mpris-ctl | |
# https://github.com/acrisci/playerctl |