update
This commit is contained in:
parent
4524a86376
commit
0552ffdae8
37 changed files with 8770 additions and 49 deletions
11
config/mpv/scripts/pause-indicator.lua
Normal file
11
config/mpv/scripts/pause-indicator.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
local ov = mp.create_osd_overlay('ass-events')
|
||||
ov.data = [[{\an5\p1\alpha&H79\1c&Hffffff&\3a&Hff\pos(760,440)}]] ..
|
||||
[[m-125 -75 l 2 2 l -125 75]]
|
||||
|
||||
mp.observe_property('pause', 'bool', function(_, paused)
|
||||
mp.add_timeout(0.1, function()
|
||||
if paused then ov:update()
|
||||
else ov:remove() end
|
||||
end)
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue