diff options
author | Profpatsch <mail@profpatsch.de> | 2021-05-12 23:15:48 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-05-12 23:42:13 +0200 |
commit | ba600abbfe2a123a5293511a21aec18b9d7d4818 (patch) | |
tree | f4e8946fff37f9f0807818db0f00dcbb0235cdf3 /pkgs/profpatsch/xdg-open/xdg-open.dhall | |
parent | 0d1737778cf81304ec37cea2a1c0e934bb84e601 (diff) |
pkgs/profpatsch/xdg-open: use the new matcher list
Removes the duplication of command handlers.
Diffstat (limited to 'pkgs/profpatsch/xdg-open/xdg-open.dhall')
-rw-r--r-- | pkgs/profpatsch/xdg-open/xdg-open.dhall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/profpatsch/xdg-open/xdg-open.dhall b/pkgs/profpatsch/xdg-open/xdg-open.dhall index 5090f8f1..cd9e8d4c 100644 --- a/pkgs/profpatsch/xdg-open/xdg-open.dhall +++ b/pkgs/profpatsch/xdg-open/xdg-open.dhall @@ -55,7 +55,7 @@ let xdg-open = λ(shellEscape2 : Text → Text) → λ(file2 : Text) → λ(m : types.MimeMatch) → - [ "${renderMime m.match})" + [ "${renderMime m.mime})" , "${shellEscapeCommand shellEscape2 file2 m.cmd}" , ";;" ] @@ -140,7 +140,7 @@ let xdg-open = types.MimeMatch Text (mimeMatcherCase shellEscape "\"\$file\"") - config.mimeMatcher + config.orderedMimeMatchers }} esac '' |