Mycofetch is fast and flexible system information tool written in OCaml
As said previously, Mycofetch is flexible - in fact, all output formatting layout is based solely on your custom template. Do you want your logo above the info? Mycofetch can do it. Interlaced inbetween? No prob. Mycofetch also features a simple styling language, empowering you to colour and style your output.
Mycofetch includes performance-enhancing features like parallelism and template compiling and is generally faster than, say, pfetch.
Mycofetch can be easily built with dune:
dune build --release
dune install mycofetch
The priority of template file location is as follows: as specified by -t
and --template
flags,
as specified by $MFTEMPLATE
envvar, $XDG_CONFIG_HOME/mycofetch/template
and $HOME/.config/mycofetch/template
All values are included with #source:key#
os
:/etc/os-release
- as in source, all lowercasecpu
:/proc/cpuinfo
-vendor
,model
,name
,threads
,cores
,mhz_CORE
,ghz_CORE
mem
:/proc/meminfo
-memtotal
,memused
,memfree
,swaptotal
,swapused
,swapfree
, all inVAL_kb
,VAL_mb
andVAL_gb
variantsuptime
:/proc/uptime
-hours
,mins
,secs
kernel
:/proc/sys/kernel/KEY
-arch
,hostname
,osrelease
,ostype
board
:/sys/devices/virtual/dmi/id/board_KEY
-name
,vendor
,version
host
:/etc/hostname
- onlyname
(#host:name#
)env
: envvars - envvar name verbatimdistro
: everything related to your distro -pm_name
,pm_command
,pm_count
- parameters related to your package manager;colour
- used in#cauto#
;logo_tiny
- logo as in nerdfonts;logo
- a consecutive line from your distro’s logo
#c#
: clear all styling, including colours#b#
: bold#d#
: dim#i#
: italic#u#
: underlined
#cauto#
: primary colour of your distro#c0#
: black#c1#
: red#c2#
: green#c3#
: yellow#c4#
: blue#c5#
: magenta#c6#
: cyan#c7#
: white
-t
/--template /path/to/template
: specify a custom path to template file-m
/--marshal /path/to/compiled_template
: use a compiled template file-c
/--compile
use with-m
/--message
to compile template into file-i
/--inline template
: use `template` instead of template file”-l
/--logo distro
: use `distro`’s logo and colours instead of your distro’s ones”-h
/--help
: print this message