show currently playing mpv stuff in xfce4-panel
Find a file
2023-07-01 17:51:29 +00:00
script-opts initial 2022-07-08 18:55:26 +02:00
LICENSE initial 2022-07-08 18:55:26 +02:00
README.md added links to readme 2022-07-08 19:03:52 +02:00
xfce-genmonify.lua [FIX] title regex, cut at LAST dot (not the first) 2023-07-01 17:51:29 +00:00

This script will update a xfce4-panel genmon plugin that is set up with genmonify to display the currently playing media file and elpapsed or remaining time.

Example settings (~/.config/mpv/scrip-opts/xfce-genmonify.conf):

pause_color=#EEEEEE
icon_click_command="mediacontrol toggle"
icon_playing=mpv
icon_paused=media-playback-start
time_remaining=yes

Setting up the genmonify thing:

  • install genmon and genmonify
  • add a genmon instance, max out the time and set the command to genmonify -o media
  • find the internal xfce-panel ID for the genmon instance (genmonify --list)
  • add the line modules[media]=ID to ~/.config/genmonify/module-list

mpv-genmonify