commit 9b82a0b3432577b8320a38ba154076563e7c7d34
parent 40b564c49b5d273f2fd3f6879c4a01903d299f19
Author: awy <awy@awy.one>
Date: Thu, 3 Jul 2025 23:50:55 +0300
fastfetch
Diffstat:
1 file changed, 77 insertions(+), 0 deletions(-)
diff --git a/.config/fastfetch/config.jsonc b/.config/fastfetch/config.jsonc
@@ -0,0 +1,77 @@
+{
+ "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
+ "logo": {
+ "type": "small",
+ "color": {
+ "1": "33"
+ },
+ "padding": {
+ "top": 1,
+ "left": 1,
+ "right": 2
+ }
+ },
+ "display": {
+ "size": {
+ "maxPrefix": "MB",
+ "ndigits": 0
+ }
+ },
+ "modules": [
+ {
+ "type": "command",
+ "text": "fastfetch --config none --format json | jq -r '.[] | select(.type == \"OS\") | .result.id'",
+ "key": "os",
+ "keyColor": "33"
+ },
+ {
+ "type": "kernel",
+ "key": "kernel",
+ "format": "{release}",
+ "keyColor": "33"
+ },
+ {
+ "type": "packages",
+ "format": "{all}",
+ "key": "pkg",
+ "keyColor": "33"
+ },
+ {
+ "type": "shell",
+ "format": "{pretty-name}",
+ "key": "shell",
+ "keyColor": "33"
+ },
+ {
+ "type": "command",
+ "text": "fastfetch --config none --format json | jq -r '.[] | select(.type == \"WM\") | .result.prettyName' | tr '[:upper:]' '[:lower:]'",
+ "key": "wm",
+ "keyColor": "33"
+ },
+ {
+ "type": "terminal",
+ "format": "{pretty-name}",
+ "key": "term",
+ "keyColor": "33"
+ },
+ {
+ "type": "command",
+ "text": "fastfetch --config none --format json | jq -r '.[] | select(.type == \"CPU\") | .result.cpu' | tr '[:upper:]' '[:lower:]'",
+ "key": "cpu",
+ "keyColor": "33"
+ },
+ {
+ "type": "command",
+ "text": "fastfetch --config none --format json | jq -r '.[] | select(.type == \"GPU\") | .result[0].name' | tr '[:upper:]' '[:lower:]'",
+ "key": "gpu",
+ "keyColor": "33"
+ },
+ {
+ "type": "command",
+ "text": "free -h | awk '/Mem/ {print $3 \" / \" $2}' | tr '[:upper:]' '[:lower:]'",
+ "key": "ram",
+ "keyColor": "33"
+ },
+ "break"
+ ]
+}