about summary refs log tree commit diff
path: root/pkgs/profpatsch/xdg-open/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/xdg-open: use the new matcher listProfpatsch2021-05-121-0/+1
| | | | Removes the duplication of command handlers.
* pkgs/profpatsch/xdg-open: prepare for adding firefox handler supportProfpatsch2021-05-121-0/+4
| | | | | | | | | This diff is a bit bad cause of whitespace changes, but effectively this copies all handlers into the mime handler definitions and duplicates them for now. We want to use the same config to generate a firefox mime handler file.
* pkgs/profpatsch/xdg-open: improve tool a bitProfpatsch2021-03-051-4/+19
|
* pkgs/profpatsch/xdg-open: Prepare decoding http urlsProfpatsch2020-07-061-1/+138
| | | | | | | | | I want to be able to open http(s) links that are e.g. images directly in the right application. Aka web urls should be transparent, instead of always opening everthing in the browser. This adds some silly ways of connecting to the server and parsing out the headers, in order to fetch the content-type.
* pkgs/profpatsch/xdg-open/mini-url: envvar instead of substituteProfpatsch2020-07-061-3/+3
| | | | | | | | It’s a lot simpler to just export the parsed attribute as envvars. Remove the substitute stuff (it already went into the el_substitute lib anyway) and replace the xpathexec0 code with the function from the el_exec lib.
* pkgs/profpatsch/xdg-open: add mini-urlProfpatsch2020-07-061-1/+10
| | | | | A small parser for http/https URLs. Substitutes host/port/path in argv.
* pkgs/profpatsch/xdg-open: implement special commandsProfpatsch2020-05-101-25/+67
|
* pkgs/profpatsch: add xdg-open, WIPProfpatsch2020-05-091-0/+88