*nohtml*

local/bin/mpv-menu

   1 #!/bin/bash
   2 
   3 { echo "$(xsel)"; tac ~/.config/mpv/history.log; } |
   4 menu kino | sed "s|~|$HOME|; s/%) - /\t/" | cut -f 2 |
   5 tr \\n \\0 | xargs -0I % mpv --profile pseudo-gui '%' &