Skip to content

[FEAT] Adding the "installed apps" count #1609

Open
@CTRL-panino

Description

@CTRL-panino

Description

Hi!
I believe it would be beneficial to include the number of apps installed on macOS and Windows in Fastfetch.
This could be implemented through a new module (e.g., Apps or Applications) or as an option in the custom format within Packages.

Motivation

In my personal use case, the Command module is sufficient for retrieving the number of installed apps.
However, I think that many macOS and Windows users install applications instead of packages (or a combination of both) but they may not know how to write that specific command.
Therefore, it might be more user-friendly to incorporate this functionality as a native feature in Fastfetch.

Additional context

If useful, here is my configuration with the command I use to retrieve the number of apps on macOS (total installed apps, user installed apps and system apps):

{
    "type": "command",
    "key": “Apps",
    "text": "user_apps=$(($(ls /Applications | grep '\\.app$' | wc -l) - 1)); system_apps=$(($(ls /System/Applications | grep '\\.app$' | wc -l) - 1 + $(ls /System/Applications/Utilities | grep '\\.app$' | wc -l) - 1)); total=$(($user_apps + $system_apps)); echo \"Total: $total - User: $user_apps - System: $system_apps\""
},

I still haven’t found a polished command for Windows but I can share my attempts if needed.

Thank you for considering my suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions