dotfiles

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

commit de35ee4cf19347fee5791c89c20c2cf9e96bdf90
parent 6f93d020eec4ec533a1c81861335b07f6ffa814f
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 16 Dec 2020 14:43:45 +0100

plumb: open gif with sxiv, not mpv

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

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -211,7 +211,7 @@ handle_url() { port="$(printf '%s' "$t" | cut -d'|' -f5 | sed 's,\],,')" t="gopher://${host}:${port}/${type}${path}" fi - if regeximatch "$t" '\.(mp4|mkv|webm|avi|ogv|gif|m3u|pls)$'; then + if regeximatch "$t" '\.(mp4|mkv|webm|avi|ogv|m3u|pls)$'; then detach $prefix mpv "$t" elif regeximatch "$t" '^radio://'; then $prefix mplayer "http${t##radio}"