A simple (unofficial) bash client for repology.org to quickly check the packaging status of a package among differnt distributions of GNU/Linux or other supported repositories of repology.
jq fq curl notify-send xdg-open
dmenu | rofi | fuzzel
: only one is needed
In a Debian-like distro, these can be installed with:
sudo apt install jq fq curl libnotify-bin dmenu # or rofi/fuzzel
Check pac-menu -h
:
Display packaging status in different repositories via repology.org
Usage: pac-menu [OPTIONS] PACKAGE-NAME
Options:
-d : Use selector menu to enter package-name
-V : Print version
-h : Print help message
pac-menu thunar
pac-menu -d
: (then type query in dmenu)pac-menu ripgr
: this would invoke a API search, then a "refine query" step would be shown before proceeding to showing final results
Call with -d
on invoking via keybinding. A desktop
file is provided.
On top of the script, these variables can be edited:
selector_app
: depending on Xorg (dmenu) or Wayland (rofi/fuzzel)priority_repo
: distro name that you want its status shown firstselector_font
use_custom_redirection
: use predefined project urls instead of repology
- linter:
shellcheck
- formatter:
shfmt -i 4 -bn -ci -sr