about summary refs log tree commit diff
path: root/pkgs/profpatsch/xdg-open
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/xdg-open: improve tool a bitProfpatsch2021-03-055-38/+99
|
* machines/shiki: use imv instead of fehProfpatsch2020-08-201-1/+1
|
* pkgs/profpatsch/xdg-open: Prepare decoding http urlsProfpatsch2020-07-063-1/+198
| | | | | | | | | 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-062-255/+14
| | | | | | | | 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-062-1/+394
| | | | | A small parser for http/https URLs. Substitutes host/port/path in argv.
* pkgs/profpatsch/xdg-open: make possible to parse protocolsProfpatsch2020-05-112-60/+101
| | | | | | | | This is now on par with the original script in https://github.com/Profpatsch/dotfiles/blob/a25c6c419525bef7ef5985f664b058dc9eb919e9/scripts/scripts/xdg-open Eventually it should probably migrate away from a generated bash script, but for now it’s fine.
* pkgs/profpatsch/xdg-open: implement special commandsProfpatsch2020-05-103-30/+73
|
* pkgs/profpatsch: add xdg-open, WIPProfpatsch2020-05-0911-0/+318