895 B
895 B
videoclip
Easily create videoclips with mpv in a few keypresses.
Installation
Install as a part of your dotfiles
$ config submodule add 'https://github.com/Ajatt-Tools/videoclip.git' ~/.config/mpv/scripts/videoclip
Install by cloning the repo
$ git clone 'https://github.com/Ajatt-Tools/videoclip.git' ~/.config/mpv/scripts/videoclip
Open or create ~/.config/mpv/scripts/modules.lua
and add these lines:
local mpv_scripts_dir_path = os.getenv("HOME") .. "/.config/mpv/scripts/"
function load(relative_path) dofile(mpv_scripts_dir_path .. relative_path) end
load("videoclip/videoclip.lua")
Updating
Submodules are updated using standard git commands:
$ config submodule update --remote --merge
or
$ cd ~/.config/mpv/scripts/videoclip && git pull