[FEAT] Adding the "installed apps" count

Aberta
#1,609 8 comentários 2 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
c, macos

Direção de pesquisa

A issue menciona os módulos Command e Packages do Fastfetch e fornece um comando de contagem para macOS. Comece comparando essas abordagens existentes e determinando como os aplicativos instalados devem ser contados no macOS e no Windows; o trabalho estará concluído quando o Fastfetch fornecer uma contagem de aplicativos nativa e fácil de usar em ambas as plataformas.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement
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. The command I use simply counts the apps displayed in Spotlight / Apps:

{
  "type": "command",
  "key": "Apps",
  "text": "mdfind \"kMDItemContentType == 'com.apple.application-bundle'\" -onlyin /Applications -onlyin ~/Applications -onlyin /System/Applications | wc -l | xargs"
},

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

Thank you for considering my suggestion.

Edit: I’ve updated the command above to the "final" version. If you’re interested in previous iterations or alternative approaches, please refer to the comments below.

Linguagem predominante
C
Estrelas
25.4k
Forks
947
Merge médio
1d 8h
PRs com merge (30d)
21

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de fastfetch-cli/fastfetch

Todas as issues de fastfetch-cli/fastfetch

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.