An Easier Way to Launch Flatpaks
Flatpak requires a "reverse-DNS style" naming scheme for applications.
This is due to "security concerns".
The side-effect is that launching apps is difficult to remember and tedious to type.
fp
uses flatpak run
and extended regex to search and run the matching flatpak.
flatpak
(https://flatpak.org/setup/)
$ git clone https://github.com/DLopezJr/fp
$ cd fp
$ test -x "$(command -v sudo)" && sudo make install || su -c "make install"
$ cd fp
$ test -x "$(command -v sudo)" && sudo make uninstall || su -c "make uninstall"
$ fp <package_name>
$ fp <package_name> <$@>
$ fp vlc
$ fp vlc --help
- The Flatpak naming scheme allows case-insenstive names. This has caused some complexity.
- Currently only lower case stdin is functional.
- Packaging for repos
- Manpage or Help flag
- Error Handling