[FEAT] Adding the "installed apps" count
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- c, macos
- 領域
- cli, operating-systems
研究方向
該 issue 提到了 Fastfetch 的 Command 和 Packages 模組,並提供了一個 macOS 計數命令。首先比較這些現有方法,並確定在 macOS 和 Windows 上應如何統計已安裝的應用程式;當 Fastfetch 在兩個平台上都提供原生且易於使用的應用程式數量時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C
- 星號
- 25.4k
- 分支
- 947
- 平均合併
- 1 天 8 小時
- 30 天內合併 PR
- 21
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
fastfetch-cli/fastfetch 的其他 Issue
-
[LOGO] VentoOS未關閉logo request
難度 1/5 1 小時以內 新手友好度 80/100
fastfetch-cli/fastfetch#2742 ·
維護者通常 1 天內回覆
-
[LOGO] MacroMag OS可能已有人在做 @maldyrek 於 1 天前認領。 未關閉logo request
難度 2/5 1-3 小時 新手友好度 76/100
fastfetch-cli/fastfetch#2740 ·
維護者通常 1 天內回覆
-
logo request
難度 2/5 1-3 小時 新手友好度 67/100
fastfetch-cli/fastfetch#2713 · 1 則留言 ·
維護者通常 1 天內回覆
-
[LOGO] Visnux Linux可能已有人在做 @rafaelsoje 於 19 天前認領。 未關閉logo request
難度 2/5 1-3 小時 新手友好度 74/100
fastfetch-cli/fastfetch#2700 ·
維護者通常 1 天內回覆
-
[LOGO] ZelixOS可能已有人在做 @Hwi0228 於 24 天前認領。 未關閉logo request
難度 2/5 1-3 小時 新手友好度 72/100
fastfetch-cli/fastfetch#2685 · 1 則留言 ·
維護者通常 1 天內回覆
查看 fastfetch-cli/fastfetch 的全部 Issue
相似的 Issue
-
bug sev-3
難度 2/5 1-3 小時 新手友好度 62/100
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
SanderMertens/flecs#2444 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100