From 5a2b126f223af444bebd2fc9caed795468cf2886 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Fri, 24 May 2024 09:41:40 +0530 Subject: [PATCH 1/2] fastfetch: add config-compact.jsonc it can be used by setting an alias alias cfastfetch="fastfetch --config ~/.config/fastfetch/config-compact.jsonc" --- config/fastfetch/config-compact.jsonc | 63 +++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 config/fastfetch/config-compact.jsonc diff --git a/config/fastfetch/config-compact.jsonc b/config/fastfetch/config-compact.jsonc new file mode 100644 index 0000000..58df7ed --- /dev/null +++ b/config/fastfetch/config-compact.jsonc @@ -0,0 +1,63 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "small" + }, + "display": { + "separator": " -> " + }, + "modules": [ + "break", + { + "type": "custom", + "format": " ╭───────┤ \u001b[35m\u001b[1m NixOS\u001b[0m ├───────╮" + }, + { + "type": "kernel", + "key": " ", + "keyColor": "yellow" + }, + { + "type": "wm", + "key": " ", + "keyColor": "blue" + }, + { + "type": "shell", + "key": " ", + "keyColor": "yellow" + }, + { + "type": "terminal", + "key": " ", + "keyColor": "blue" + }, + /* + { + "type": "packages", + "key": "󰏖 ", + "keyColor": "yellow" + }, + */ + { + "type": "memory", + "key": "󰍛 ", + "keyColor": "green", + // format: used / total + "format": "{1} / {2}" + }, + { + "type": "uptime", + "key": "󰔛 ", + "keyColor": "green" + }, + { + "type": "custom", + "format": " ╰─────────────────────────╯" + }, + { + "type": "custom", + "format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[30m " + } + ] +} \ No newline at end of file From ba44152db0d538410290b0efa7e59a31333a1a15 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Fri, 24 May 2024 13:42:35 +0900 Subject: [PATCH 2/2] Update config-compact.jsonc tinkered abit, basically removed the nixos part to be more universal and have added on top the host name. --- config/fastfetch/config-compact.jsonc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/config/fastfetch/config-compact.jsonc b/config/fastfetch/config-compact.jsonc index 58df7ed..f8b1e12 100644 --- a/config/fastfetch/config-compact.jsonc +++ b/config/fastfetch/config-compact.jsonc @@ -1,6 +1,9 @@ { "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "logo": { + "padding": { + "top": 2 + }, "type": "small" }, "display": { @@ -8,9 +11,14 @@ }, "modules": [ "break", + { + "type": "title", + "keyWidth": 10, + "format": " {6}{7}{8}" + }, { "type": "custom", - "format": " ╭───────┤ \u001b[35m\u001b[1m NixOS\u001b[0m ├───────╮" + "format": " ╭───────────────────────╮" }, { "type": "kernel", @@ -42,7 +50,7 @@ { "type": "memory", "key": "󰍛 ", - "keyColor": "green", + "keyColor": "magenta", // format: used / total "format": "{1} / {2}" }, @@ -53,11 +61,12 @@ }, { "type": "custom", - "format": " ╰─────────────────────────╯" + "format": " ╰───────────────────────╯" }, { "type": "custom", - "format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[30m " - } + "format": " \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[90m " + }, + "break", ] -} \ No newline at end of file +}