/fp

Easily Launch Flatpaks from the CLI

Primary LanguageShellGNU Lesser General Public License v2.1LGPL-2.1

fp

An Easier Way to Launch Flatpaks

PURPOSE

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 & tedious to type.

  • $ flatpak run org.videolan.VLC

Attempting to solve this by adding flatpak's app directories to "$PATH" is said to be "insecure".

DETAILS

fp solves this by being a wrapper.

It uses flatpak run and extended regex to search and run the matching flatpak.

Dependencies

flatpak (https://flatpak.org/setup/)

Install (user)

$ git clone https://github.com/DLopezJr/fp
$ cd fp
$ make install

Install (system)

$ git clone https://github.com/DLopezJr/fp
$ cd fp
$ sudo make install || su -c "make install"

Uninstall

$ cd fp
$ sudo make uninstall || su -c "make uninstall"

Usage

$ fp <package_name>
$ fp <package_name> <$@>

Example

$ fp vlc
$ fp vlc --help 

TODO:

  • Packaging for repos
  • Manpage
  • tab-compleition
  • fuzzy finder support