diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-19 16:37:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-19 16:37:28 +1200 |
commit | d6b30b670d2363a643e071cc040302abacb30177 (patch) | |
tree | 409f8935029dca341ee4809581d375bd3a42cae4 /man/man1 | |
parent | Clean up temporary files before apf(1) exec (diff) | |
download | dotfiles-d6b30b670d2363a643e071cc040302abacb30177.tar.gz dotfiles-d6b30b670d2363a643e071cc040302abacb30177.zip |
Update documentation for br(1) and xgo(1)
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/br.1 | 12 | ||||
-rw-r--r-- | man/man1/xgo.1 | 8 |
2 files changed, 11 insertions, 9 deletions
diff --git a/man/man1/br.1 b/man/man1/br.1 index ad841750..5f6de5f7 100644 --- a/man/man1/br.1 +++ b/man/man1/br.1 @@ -12,14 +12,12 @@ BROWSER=firefox .B br .SH DESCRIPTION .B br -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. +just execs the program in the $BROWSER environment variable with the given +arguments. That's it. .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). +It was written to have a clean way to launch $BROWSER from ~/.xbindkeysrc. It +has no other reason to exist. .SH SEE ALSO -brxs(1), urlh(1), urlmt(1), feh(1), mpv(1) +xgo(1), xgoc(1) .SH AUTHOR Tom Ryder <tom@sanctum.geek.nz> diff --git a/man/man1/xgo.1 b/man/man1/xgo.1 index 13cbdd37..5eec6517 100644 --- a/man/man1/xgo.1 +++ b/man/man1/xgo.1 @@ -6,8 +6,12 @@ .B xgo .SH DESCRIPTION .B xgo -examines each of its arguments and opens an appropriate program to view it, -falling back on $BROWSER. +examines each of its arguments, including making an HTTP HEAD request to try +and get its MIME type, and then opens an appropriate program to view it, +falling back on $BROWSER. The choices of application are very opinionated. +.SH FUTURE +There could probably be a MIME-type and/or URL-pattern to program configuration +file, rather than hard-coding it. .SH SEE ALSO br(1), xgoc(1) .SH AUTHOR |