[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