diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f2946110..ec853235a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,10 +50,10 @@ jobs: run: ./fastfetch --list-features - name: run fastfetch - run: time ./fastfetch -c presets/ci + run: time ./fastfetch -c presets/ci.jsonc - name: run fastfetch --format json - run: time ./fastfetch -c presets/ci --format json + run: time ./fastfetch -c presets/ci.jsonc --format json - name: run flashfetch run: time ./flashfetch @@ -99,10 +99,10 @@ jobs: run: ./fastfetch --list-features - name: run fastfetch - run: time ./fastfetch -c presets/ci + run: time ./fastfetch -c presets/ci.jsonc - name: run fastfetch --format json - run: time ./fastfetch -c presets/ci --format json + run: time ./fastfetch -c presets/ci.jsonc --format json - name: run flashfetch run: time ./flashfetch @@ -159,10 +159,10 @@ jobs: run: ./fastfetch --list-features - name: run fastfetch - run: time ./fastfetch -c presets/ci + run: time ./fastfetch -c presets/ci.jsonc - name: run fastfetch --format json - run: time ./fastfetch -c presets/ci --format json + run: time ./fastfetch -c presets/ci.jsonc --format json - name: run flashfetch run: time ./flashfetch @@ -201,8 +201,8 @@ jobs: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On . cmake --build . --target package --verbose ./fastfetch --list-features - time ./fastfetch -c presets/ci - time ./fastfetch -c presets/ci --format json + time ./fastfetch -c presets/ci.jsonc + time ./fastfetch -c presets/ci.jsonc --format json time ./flashfetch ldd fastfetch ctest @@ -249,10 +249,10 @@ jobs: run: ./fastfetch --list-features - name: run fastfetch - run: time ./fastfetch -c presets/ci + run: time ./fastfetch -c presets/ci.jsonc - name: run fastfetch --format json - run: time ./fastfetch -c presets/ci --format json + run: time ./fastfetch -c presets/ci.jsonc --format json - name: run flashfetch run: time ./flashfetch @@ -316,10 +316,10 @@ jobs: run: cp /clang32/bin/{OpenCL,vulkan-1}.dll . - name: run fastfetch - run: time ./fastfetch -c presets/ci + run: time ./fastfetch -c presets/ci.jsonc - name: run fastfetch --format json - run: time ./fastfetch -c presets/ci --format json + run: time ./fastfetch -c presets/ci.jsonc --format json - name: run flashfetch run: time ./flashfetch diff --git a/presets/ci b/presets/ci deleted file mode 100644 index d8327be7a..000000000 --- a/presets/ci +++ /dev/null @@ -1,7 +0,0 @@ --c all ---pipe ---show-errors ---no-buffer ---publicip-timeout 1000 ---weather-timeout 1000 ---stat diff --git a/presets/ci.jsonc b/presets/ci.jsonc new file mode 100644 index 000000000..766a08bb5 --- /dev/null +++ b/presets/ci.jsonc @@ -0,0 +1,69 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "display": { + "stat": true, + "pipe": true, + "showErrors": true, + "noBuffer": true + }, + "modules": [ + "title", + "separator", + "os", + "host", + "bios", + "board", + "chassis", + "kernel", + "uptime", + "processes", + "packages", + "shell", + "display", + "brightness", + "monitor", + "lm", + "de", + "wm", + "wmtheme", + "theme", + "icons", + "font", + "cursor", + "wallpaper", + "terminal", + "terminalfont", + "terminalsize", + "cpu", + "cpuusage", + "gpu", + "memory", + "swap", + "disk", + "battery", + "poweradapter", + "player", + "media", + "publicip", + "localip", + "wifi", + "datetime", + "locale", + "vulkan", + "opengl", + "opencl", + "users", + "bluetooth", + "sound", + "gamepad", + { + "type": "weather", + "timeout": 1000 + }, + "netio", + "diskio", + "version", + "break", + "colors" + ] +}