[FEAT] Adding the "installed apps" count

オープン
#1,609 コメント 8 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c, macos

調査の方向性

この issue では Fastfetch の Command モジュールと Packages モジュールを挙げ、macOS 用のカウントコマンドを示しています。まず、これらの既存のアプローチを比較し、macOS と Windows でインストール済みアプリケーションをどのようにカウントすべきかを判断してください。Fastfetch が両プラットフォームでネイティブかつ使いやすいアプリケーション数を提供できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
25.4k
フォーク
947
平均マージ
1日 8時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fastfetch-cli/fastfetch のほかの issue

fastfetch-cli/fastfetch の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。