From f2ca3e2f1af767ece0241aa52c34614e62a97c54 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Mon, 1 Jun 2026 17:13:56 +0200 Subject: [PATCH] Add modules/home/cli/neofetch/config.jsonc --- modules/home/cli/neofetch/config.jsonc | 147 +++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 modules/home/cli/neofetch/config.jsonc diff --git a/modules/home/cli/neofetch/config.jsonc b/modules/home/cli/neofetch/config.jsonc new file mode 100644 index 0000000..6c125c4 --- /dev/null +++ b/modules/home/cli/neofetch/config.jsonc @@ -0,0 +1,147 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "builtin", // Logo type: auto, builtin, small, file, etc. + // "source": "arch", + "width": 10, + "height": 10, + "padding": { + "top": 3, + "left": 2, + "right": 2 + }, + "color": { + "1": "blue", + "2": "white", + "3": "cyan" + } + }, + "display": { /* Display settings */}, + "modules": [ + "break", + { + "type": "custom", + "format": "\u001b[90m┌──────────────────────Hardware──────────────────────┐" + }, + { + "type": "host", + "key": "󰌢 PC", + "keyColor": "green", + "format": "{2}" + }, + { + "type": "cpu", + "key": "│ ├󱛠 ", + "keyColor": "green", + "format": "{1} | {4} @{6}" + }, + { + "type": "gpu", + "key": "│ ├󰍹 ", + "keyColor": "green", + "format": "{2} | {7}" + }, + { + "type": "memory", + "key": "│ ├󰑭 ", + "keyColor": "green", + "format": "{2}" + }, + // { + // "type": "disk", + // "key": "└ └󰋊 ", + // "keyColor": "green" + // }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────┘" + }, + "break", + { + "type": "custom", + "format": "\u001b[90m┌──────────────────────Software──────────────────────┐" + }, + { + "type": "os", + "key": " OS", + "keyColor": "yellow", + "format": " {2} {8}" + }, + { + "type": "kernel", + "key": "│ ├󰌽 ", + "keyColor": "yellow", + "format": "{1} {2}" + }, + { + "type": "bios", + "key": "│ ├󰖡 ", + "keyColor": "yellow" + }, + { + "type": "packages", + "key": "│ ├󰏗 ", + "keyColor": "yellow" + }, + { + "type": "de", + "key": "󰧨 DE", + "keyColor": "blue", + "format": "{2} | {3}" + }, + { + "type": "lm", + "key": "│ ├󰍁 ", + "keyColor": "blue", + "format": "{1} {2} {3}" + }, + { + "type": "wm", + "key": "│ ├󱂬 ", + "keyColor": "blue", + "format": "{2} {5}" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────┘" + }, + "break", + { + "type": "custom", + "format": "\u001b[90m┌──────────────────────Age───────────────────────────┐" + }, + { + "type": "command", + "key": " › OS Age ", + "keyColor": "magenta", + "text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days" + }, + { + "type": "command", + "key": " › Update ", + "keyColor": "magenta", + "text": "nixos-rebuild list-generations | awk '$NF == \"True\" {print $2, $3}' | xargs -I {} date -d \"{}\" +\"%s\" | awk '{diff=systime()-$1; printf \"%d days, %d hours, %d mins\\n\", diff/86400, (diff%86400)/3600, (diff%3600)/60}'" + }, + { + "type": "uptime", + "key": " › Uptime ", + "keyColor": "magenta" + }, + { + "type": "custom", + "format": "\u001b[90m└────────────────────────────────────────────────────┘" + }, + { + "type": "colors", + "paddingLeft": 2, + "block": { + "width": 3, + "range": [ + 0, + 15 + ] + } //, + //"symbol": "circle" + }, + ] +} \ No newline at end of file