mpv-reload icon indicating copy to clipboard operation
mpv-reload copied to clipboard

sending two SPACE keypresses might cause issues

Open KaoriRinaFujimoto opened this issue 3 years ago • 1 comments

Hi! First of all thanks for this useful script.

However I've experienced it breaking my visibility=always configuration in script-opts/osc.conf since it sends two spaces and space is mapped to toggling osc visibility. (in my config) https://github.com/4e6/mpv-reload/blob/master/reload.lua#L378-L379

I know this issue is kinda specific to my setup, but I just wanted to mention it in case there is a better way to solve the problem. I resolved it in my setup by changing space to something different

KaoriRinaFujimoto avatar Jun 05 '22 14:06 KaoriRinaFujimoto

Not sure if this is still an issue for you but you can change those lines with

    mp.command_native({ "cycle", "pause" })
    mp.command_native({ "cycle", "pause" })

which should do the same thing

DanSM-5 avatar Sep 10 '23 01:09 DanSM-5