[FEAT] Adding the "installed apps" count

Aperta
#1,609 8 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c, macos

Direzione di ricerca

La issue cita i moduli Command e Packages di Fastfetch e fornisce un comando di conteggio per macOS. Inizia confrontando questi approcci esistenti e determinando come dovrebbero essere conteggiate le applicazioni installate su macOS e Windows; il lavoro è completato quando Fastfetch fornisce un conteggio delle applicazioni nativo e intuitivo su entrambe le piattaforme.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
25.4k
Fork
947
Merge medio
1g 8h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fastfetch-cli/fastfetch

Tutte le issue di fastfetch-cli/fastfetch

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.