#!/bin/sh # xdg-utils treats niri as a "generic" desktop: it sniffs MIME types with `file` # and ignores Terminal=true. gio honours mimeapps.list globs and runs terminal # apps through xdg-terminal-exec (default terminal: xdg-terminals.list). exec gio open "$@"