Commit c2232ba07e15af7dced3074f6eeaee25f80a94f8 Parent: 5517908258d3881242da9d2d58a8562151e8b7a8 Author: mcol <mcol@posteo.net> Date: 2021-08-22 17:17:36 +0100 Committer: mcol <mcol@posteo.net> Committed: 2021-08-22 17:17:36 +0100 Use mimeopen in example usage instead of xdg-open as it is better
README.rst Modified
@@ -20,8 +20,9 @@ path of activated items to the standard output stream. This makes it easy to use better-suited tools to figure out what to do. -For example, this will delegate item handling to the useful ``xdg-open`` script -packaged by many unix distributions, and folder handling to ``thunar``: +For example, this will delegate item handling to the useful ``mimeopen`` script +packaged by many unix distributions ("perl-file-mimeinfo" on Arch Linux), and +folder handling to ``thunar``: .. code-block:: sh xanadu | while read item @@ -30,7 +31,7 @@ then thunar "$item" else - xdg-open $item + mimeopen $item fi done