playerctl

playerctl

TLDR

Toggle play

$ playerctl play-pause
copy


Next media
$ playerctl next
copy


Previous media
$ playerctl previous
copy


List all players
$ playerctl --list-all
copy


Send a command to a specific player
$ playerctl --player=[player_name] [command]
copy


Send a command to all players
$ playerctl --all-players [command]
copy


Show now playing
$ playerctl metadata --format "Now playing: [artist] - [album] - [title]"
copy

Copied to clipboard