diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 14:25:24 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 14:25:24 +1200 |
commit | 4c85039f0315132b96abc219fd49862ef4d195de (patch) | |
tree | f8b75fed64ce8a51cd706a783283e5629c15dbbd /man | |
parent | Add urlh(1) and urlmt(1) (diff) | |
download | dotfiles-4c85039f0315132b96abc219fd49862ef4d195de.tar.gz dotfiles-4c85039f0315132b96abc219fd49862ef4d195de.zip |
Add tentative enhancements to br(1)
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/br.1 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/man/man1/br.1 b/man/man1/br.1 index 5d4d928b..ad841750 100644 --- a/man/man1/br.1 +++ b/man/man1/br.1 @@ -12,10 +12,14 @@ BROWSER=firefox .B br .SH DESCRIPTION .B br -execs the program in the $BROWSER environment variable. That's it. It was -written so the browser could safely be launched from xbindkeys(1) and similar -programs. +run with no arguments just execs the program in the $BROWSER environment +variable. If given a single URL, it tries to get its MIME type from a HEAD +request and matches on the URL and/or the MIME type to see if any more suitable +programs could open it. Otherwise, it falls back on $BROWSER. +.P +At the time of writing, it tries to load image types with feh(1), and YouTube +URLs without a start time with mpv(1). .SH SEE ALSO -brxs(1) +brxs(1), urlh(1), urlmt(1), feh(1), mpv(1) .SH AUTHOR Tom Ryder <tom@sanctum.geek.nz> |