dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ca37bfbfdc301ce71981c025d99ef22135cfe39b
parent 4fe4a9d9611a6ba7b585b16fa7dfd881bd6de4d9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue, 25 Feb 2020 20:26:24 +0100

Prefetch movies

Diffstat:
M.local/bin/plumb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -91,7 +91,7 @@ handle_target() { esac if regeximatch "$t" '\.(mp4|mkv|webm|avi|ogg|ogv|gifv)$'; then - detach mpv "$t" + detach mpv "$(fetch "$t")" elif regeximatch "$t" '\.(png|jpg|jpeg|tif|bmp|gif)$'; then sxiv "$(fetch "$t")" elif regeximatch "$t" '\.(pdf|ps|epub|djvu)$'; then