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
free 100$ digital ocean credit