Flatpak
Flatpak Runner
Example: fr handbrake
#!/usr/bin/env bash
# Quickly run flatpak installed cli apps by going a grep insensitive search.
# Example: `fr handbrake --help` would run `flatpak run fr.handbrake.HandBrakeCLI --help`
FLATPAK_ID=$(flatpak list --app | grep -i "$1"| head -n1 | cut -f2 )
shift
echo "Running: $FLATPAK_ID $*"
flatpak run "$FLATPAK_ID" "$@"