dbus-spotify 简单的程序,可通过DBus从Spotify打印信息。 设置 下载 , chmod 0755 ,然后享受! 或者,在安装go工具链后,使用go get github.com/mt-inside/dbus-sportify手动构建它go get github.com/mt-inside/dbus-sportify 例子 手动执行 $ ./dbus-spotify summary [Lorna Shore] Void Polybar配置 [module/spotify] type = custom/script exec = dbus-spotify summary 2> .local/share/polybar/script-dbus-spotify.log interval = 2 click-left = dbus-spotify prev click-midd