Skip to content

[FEAT] Ability to add other package managers via config files #813

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

Closed
dnkmmr69420 opened this issue Apr 26, 2024 · 5 comments
Closed

[FEAT] Ability to add other package managers via config files #813

dnkmmr69420 opened this issue Apr 26, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@dnkmmr69420
Copy link

Before requesting a new feature

  • A lot of features are not enabled by default. Please try fastfetch --list-modules and fastfetch -c all.jsonc to see if it has been supported
  • Fastfetch supports Command module, which can be used to grab output from a custom shell script. Please check if it fits your needs

Wanted features:

I would like to add other package managers using configs. There would be at least these two parts for the config, the command that is ran and the display name (what it displays in the fastfetch)

Motivation:

I would find it useful for it to count packages in containers. I have a very specific use for my own project Brew Container where it would run cbrew to count the packages in my homebrew container

If you are unable to get this implemwnted, can you at least add cbrew with the option to disable it?

@dnkmmr69420 dnkmmr69420 added the enhancement New feature or request label Apr 26, 2024
@CarterLi
Copy link
Member

I'm not sure I get it correctly. Do you want to display the package count for your project cbrew in fastfetch? In this case I think Command module is enough to use.

@dnkmmr69420
Copy link
Author

Will I need to modify source code?

@dnkmmr69420
Copy link
Author

I'm not sure I get it correctly. Do you want to display the package count for your project cbrew in fastfetch? In this case I think Command module is enough to use.

and how would I do that?

@CarterLi
Copy link
Member

image

@CarterLi CarterLi closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2024
@dnkmmr69420
Copy link
Author

it didn't work


{
    "modules": [
        {
            "type": "command",
            "text": "/usr/bin/env brew list",
            "key": "Packages"
        }
    ]
}

just got the os logo with no stats at all

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants