fastfetch-cli / fastfetch-cli/fastfetch
[FEAT] Adding the "installed apps" count
- Lingua principale
- C
- Stelle
- 24.6k
- Fork
- 890
- Merge medio
- 1g 42m
- PR unite (30g)
- 17
Descrizione
### 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`:
```jsonc
{
"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.
Guida per i contributori
Apri la guida per i contributori
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.
Valutazione
- Stack tecnologico
- c, macos
- Ambito
- cli, operating-systems
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100