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 38691481c400bc517a27f2483758f883c4af09c8
parent 4e34a36f93a0589c68fd4f9906e114bbadec5670
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 26 Feb 2021 13:39:41 +0100

plumb: fetch gophers before opening

Diffstat:
M.local/bin/plumb | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -213,6 +213,8 @@ handle_url() { fi if regeximatch "$t" '^radio://'; then $prefix mpv --force-window=no "http${t##radio}" + elif regeximatch "$t" '^gophers://'; then + termopen $prefix plumb "$(fetch "$t")" elif regeximatch "$t" '\.(mp4|mkv|webm|avi|ogv|m3u|pls)$'; then detach $prefix mpv "$t" elif regeximatch "$t" '\.(mp3|ogg|m3u|wav|opus)$'; then