mpv-control 109 B

123
  1. #!/bin/bash
  2. win=$(xdotool search --class mpv)
  3. [ -n "$1" ] && [ -n "$win" ] && xdotool key --window "$win" $1