From ac89e7508eb327483fcd70cbe8733749e2d2d7db Mon Sep 17 00:00:00 2001 From: Ren Tatsumoto Date: Sat, 9 Dec 2023 01:24:53 +0300 Subject: [PATCH] update readme --- README.md | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 270ac4b..fd911d5 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,20 @@ Subtitles can be embedded into the clips. ## Installation +### Using git + +Clone the repository to the `mpv/scripts` directory: + +``` bash +git clone 'https://github.com/Ajatt-Tools/videoclip.git' ~/.config/mpv/scripts/videoclip +``` + +To update the user-script on demand later, you can execute: + +``` bash +cd ~/.config/mpv/scripts/videoclip && git pull +``` + ### Manually Download @@ -59,26 +73,6 @@ in the preferences dialog and dropping the files there. -### Using git - -If you already have your dotfiles set up according to -[Arch Wiki recommendations](https://wiki.archlinux.org/index.php/Dotfiles#Tracking_dotfiles_directly_with_Git), execute: -``` -$ config submodule add 'https://github.com/Ajatt-Tools/videoclip.git' ~/.config/mpv/scripts/videoclip -``` - -If not, either proceed to Arch Wiki and come back when you're done, or simply clone the repo: -``` -$ git clone 'https://github.com/Ajatt-Tools/videoclip.git' ~/.config/mpv/scripts/videoclip -``` - -### Updating with git - -| Install method | Command | -| --- | --- | -| Submodules | `$ config submodule update --remote --merge` | -| Plain git | `$ cd ~/.config/mpv/scripts/videoclip && git pull` | - ## Configuration The config file should be created by the user, if needed.