-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for more package managers and AppImageLauncher #337
Conversation
I added support for the following package managers: - Bonsai - pkg_info (CRUX) - GNU Guix - Rad / Radula - URPMI - Birb I also improved AppImage detection, now it supports AppImageLauncher and automatically detects where the files are.
neofetch
Outdated
has anise && tot anise s --installed | ||
has am && pac "$(am -f --less)" | ||
has bonsai && tot bonsai list | ||
has pkg_info && tot pkg_info -i | ||
has guix && tot guix package --list-installed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guix already exists below (line 2216 and 2233)
has anise && tot anise s --installed | ||
has am && pac "$(am -f --less)" | ||
has bonsai && tot bonsai list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find a package manager named bonsai... searching for "bonsai linux package manager" doesn't give any meaningful results, besides from an abandoned repo (which uses the command bs instead of bonsai
) and another repo that only has two stars. Which bonsai did you want to add support for?
Nevermind, I just saw the PR comment, sorry ;-;
3c2d5c0
to
6732945
Compare
pkg_info also exists above |
Okay otherwise it's good! I don't have the environment to test the more niche package managers so I'll trust your work. |
Urpmq doesn't list installed packages. `uprmq --list-media active` lists active repositories instead. Mageia uses RPM to count installed packages.
Works perfectly! (Sorry for the duplicates!) |
I have just seen [lili@bocchi ~]$ pip freeze | wc -l # how many packages from pip does hyfetch detect?
226
[lili@bocchi ~]$ j=0; for i in $(pip freeze | cut -d= -f1); do pacman -Qq | grep -iq $i && j=$((j+1)); done; echo $j # how many of them are likely to come from my pacman?
209 |
Right, it is impossible to detect how many packages are specifically installed using the |
On one hand yes, on the other… is it that important to justify cluttering the "Packages" line? Same logic could go to Perl, Node.js and a few other languages. |
Try |
Neither are valid options. |
Description
I added support for the following package managers:
I also improved AppImage detection, now it supports AppImageLauncher and automatically detects where the files are.
Relevant Links
Bonsai Homepage
GNU Guix Homepage
Rad / Radula Homepage
Birb Homepage
Pip Homepage