u/kesor

[OC] a controller for MPRIS media players (spotifyd, mpv, mpd, vlc, chrome, ...)

[OC] a controller for MPRIS media players (spotifyd, mpv, mpd, vlc, chrome, ...)

Tired of alt-tabbing out of your tmux session just to pause Spotify, change tracks, or adjust volume?

I made a minimal, keyboard-driven TUI that launches as a clean tiny popup and gives you full control over any MPRIS-compatible media player (SpotifyD, MPD, MPV, Browser, VLC, Lollypop, etc.) via playerctl.

It depends on just Python with no libraries & playerctl and stays out of your way until you summon it.

tmux display-popup -B -w72 -h12 -E "tmux-player-ctl"

GitHub: https://github.com/kesor/tmux-player-ctl

Would love your feedback, feature ideas, issues or PRs!

u/kesor — 1 day ago
Minimal tmux popup to control any MPRIS player (SpotifyD, MPD, VLC, Chrome, ...)
▲ 45 r/tui+2 crossposts

Minimal tmux popup to control any MPRIS player (SpotifyD, MPD, VLC, Chrome, ...)

Tired of alt-tabbing out of your tmux session just to pause Spotify, change tracks, or adjust volume?

I made a minimal, keyboard-driven TUI that launches as a clean tiny popup and gives you full control over any MPRIS-compatible media player (SpotifyD, MPD, MPV, Browser, VLC, Lollypop, etc.) via playerctl.

It depends on just Python with no libraries & playerctl and stays out of your way until you summon it.

tmux display-popup -B -w72 -h12 -E "tmux-player-ctl"

GitHub: https://github.com/kesor/tmux-player-ctl

Would love your feedback, feature ideas, issues or PRs!

u/kesor — 1 day ago
tmux-player-ctl - minimal tmux popup for controlling your media player
🔥 Hot ▲ 60 r/linux+3 crossposts

tmux-player-ctl - minimal tmux popup for controlling your media player

Had an itch, scratched it and this thing came out. It is a lightweight tmux popup controller for MPRIS media players (SpotifyD, MPV, MPD, Chrome w/Youtube, etc.). It is using a subprocess of playerctl under the hood.

Features:

  • play/pause, seek, volume, shuffle, loop controls
  • player switching with Tab (spotifyd/mpd/chrome/...)
  • themeable via environment variables
  • tight popup 72x12 or fullscreen if you like

Install:

bind-key M-p display-popup -B -xC -yC -w72 -h12 -E "tmux-player-ctl"

Repo: github.com/kesor/tmux-player-ctl

Would love feedback!

update: a more polished version is available in the repo.

u/kesor — 4 days ago