Migrate to chezmoi
Move config files from config to chezmoi Add script to auto install packages with DNF and Cargo
This commit is contained in:
parent
110e0882c6
commit
224c7ed45c
1654 changed files with 470035 additions and 51 deletions
11
chezmoi/dot_config/mpv/scripts/pause-indicator.lua
Normal file
11
chezmoi/dot_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