Share Your FASTFETCH / NEOFETCH

@C7NhtpnK

I just edit the config file(s) myself and starting with something simple as fastfetch was a good way for me.
There is a good bunch of documentation and examples for almost everything out there.

fastfetch config

// ~/.config/fastfetch/myconfig.jsonc

{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
    

"logo": {
        "type": "small", 
	 "padding": {
            "top": 2,
            "left": 2
        }
    },
   	"modules": [
	
	"break",
    	"os",
	{"type": "command",
 	 "key": "Age",
	 "text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference Days"
	},

   	"break",
    	"kernel",
	"shell",
    	"break",
        "de",
    	"wm",
	"wmtheme",
   	"terminal",
    	"break",
    	{"type": "cpu",
         "temp": true,
         },
    	{"type": "gpu",
         "temp": true,
         },
	"memory",
	"break",
    	
	{
            "type": "custom",
            "format": "Emoji: ๐Ÿ˜€",
		
        },

	"break",
	"break",
    
  ]
}

`

I know https://github.com/fastfetch-cli/fastfetch/wiki. Do you know other ressources to be recommended?

@C7NhtpnK

Not really, sorry.

@C7NhtpnK Better start with
man fastfetch
Then slowly do simple modifications of the config.
I am not familiar with the fastfetch config but I manage to do some modifications.

2 Likes

Fixed some unnecessary spaces. Also made it more accurate for Light and Dark colorscheme. No Glyphs support, font used Serious Shanns

config.jsonc
//  Fastfetch https://github.com/fastfetch-cli/fastfetch
//  Original preset https://github.com/fastfetch-cli/fastfetch/blob/dev/presets/examples/18.jsonc
//  Slightly modified by x0r

{
    "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
      "logo": null,

     "display": {
        "separator": "> ",
        "color": {
            "separator": ""
        },
        "constants": [
            "โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€",
            "โ”‚\u001b[51Cโ”‚\u001b[51D"
        ]
},
    "modules": [
        {
            "format": "{#1}{#keys}{#90}โ•ญ{$1}โ”€โ•ฎ\u001b[51D {user-name}{at-symbol-colored}{host-name} ",
            "type": "title"
        },
        {
            "key": "{#90}{$2}OS ",
            "type": "os",
            "format": "{pretty-name} ({version-id})"
        },
        {
            "key": "{#90}{$2}IN ",
            "type": "disk",
            "folders": "/",
            "format": "{create-time:10} ({?days}{days}D + {?}{hours}H {minutes}M)",
        },
        {
            "key": "{#90}{$2}KN ",
            "type": "kernel",
            "format": "{2}"
        },
        {
            "key": "{#90}{$2}UP ",
            "type": "uptime",
            "format": "{?days}{days}D {?}{hours}H {minutes}M"
        },
        {
            "key": "{#90}{$2}PK ",
            "type": "packages",
        },
        {
            "key": "{#90}{$2}DE ",
            "type": "de"
        },
        {
            "key": "{#90}{$2}SD ",
            "type": "disk",
            "folders": "/",
            "format": "{size-used} / {size-total} ({size-percentage}) ({filesystem})",
            "folders": "/",
            "percent": {
                "type": ["num"]
            }
        },
        {
            "key": "{#90}{$2}MM ",
            "type": "memory",
            "format": "{used} / {total} ({percentage})",
            "percent": {
                "type": ["num"]
            }
        },
        {
            "format": "{#1}{#keys}{#90}โ”œ{$1}โ”€โ”ค",
            "type": "custom"
        },
        {
            "key": "{#90}{$2}FF ",
            "type": "version",
            "format": "{1} (v{2})"
        },
        {
            "format": "{#1}{#keys}{#90}โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ {#bright_black}โ— {#bright_red}โ— {#bright_green}โ— {#bright_yellow}โ— {#bright_blue}โ— {#bright_magenta}โ— {#bright_cyan}โ— {#bright_white}โ—{#reset_default}{#90}{#1}  โ”€โ•ฏ",
            "type": "custom"
        }
    ]
}
2 Likes

2 Likes

2 Likes