From 75fcea8d12fc60d55ab5246230ed5ed5039e0810 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 6 Aug 2018 18:02:44 +0000 Subject: [PATCH] [mpv] add mpv-gallery-view script --- .gitmodules | 3 +++ home/.config/mpv/script-opts/gallery.conf | 1 + home/.config/mpv/scripts/gallery-thumbgen.lua | 1 + home/.config/mpv/scripts/gallery.lua | 1 + mpv-gallery-view | 1 + 5 files changed, 7 insertions(+) create mode 100644 home/.config/mpv/script-opts/gallery.conf create mode 120000 home/.config/mpv/scripts/gallery-thumbgen.lua create mode 120000 home/.config/mpv/scripts/gallery.lua create mode 160000 mpv-gallery-view diff --git a/.gitmodules b/.gitmodules index c7320a7..fb3f833 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "home/urxvt-font-size"] path = urxvt-font-size url = https://github.com/majutsushi/urxvt-font-size +[submodule "mpv-gallery-view"] + path = mpv-gallery-view + url = https://github.com/occivink/mpv-gallery-view diff --git a/home/.config/mpv/script-opts/gallery.conf b/home/.config/mpv/script-opts/gallery.conf new file mode 100644 index 0000000..f6b7390 --- /dev/null +++ b/home/.config/mpv/script-opts/gallery.conf @@ -0,0 +1 @@ +thumbs_dir=~/.cache/thumbnails/mpv diff --git a/home/.config/mpv/scripts/gallery-thumbgen.lua b/home/.config/mpv/scripts/gallery-thumbgen.lua new file mode 120000 index 0000000..d03b6d5 --- /dev/null +++ b/home/.config/mpv/scripts/gallery-thumbgen.lua @@ -0,0 +1 @@ +../../../../mpv-gallery-view/scripts/gallery-thumbgen.lua \ No newline at end of file diff --git a/home/.config/mpv/scripts/gallery.lua b/home/.config/mpv/scripts/gallery.lua new file mode 120000 index 0000000..e0ed162 --- /dev/null +++ b/home/.config/mpv/scripts/gallery.lua @@ -0,0 +1 @@ +../../../../mpv-gallery-view/scripts/gallery.lua \ No newline at end of file diff --git a/mpv-gallery-view b/mpv-gallery-view new file mode 160000 index 0000000..ed845a4 --- /dev/null +++ b/mpv-gallery-view @@ -0,0 +1 @@ +Subproject commit ed845a4be805e4a6a6a4279bb81371a7cfdba14d