2020-04-22 11:42:34 +09:00
|
|
|
paleofetch
|
|
|
|
==========
|
|
|
|
|
2020-04-23 11:26:08 +09:00
|
|
|
A rewrite of [neofetch](https://github.com/dylanaraps/neofetch) in C.
|
2020-04-23 11:24:50 +09:00
|
|
|
Currently only supports Linux and Xorg.
|
2020-04-22 11:55:48 +09:00
|
|
|
|
|
|
|
Example output:
|
|
|
|
|
|
|
|
![example output](example.png)
|
2020-04-22 11:42:34 +09:00
|
|
|
|
2020-04-24 00:38:33 +09:00
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
Paleofetch requires `libX11` and `libpci`. If you're running Xorg you should already have
|
|
|
|
the former. On Arch Linux, you should have `libpci` already installed if you have `pciutils`
|
|
|
|
installed. On other linux distrobutions, you may need to install libpci seperatley
|
|
|
|
if its not already present.
|
|
|
|
|
2020-04-22 11:42:34 +09:00
|
|
|
Compiling
|
|
|
|
---------
|
|
|
|
|
|
|
|
make install
|
|
|
|
|
2020-04-23 07:19:37 +09:00
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
2020-04-23 11:24:50 +09:00
|
|
|
After compiling, simply run the executable:
|
|
|
|
|
2020-04-23 07:19:37 +09:00
|
|
|
paleofetch
|
|
|
|
|
|
|
|
By default, `paleofetch` will cache certain information (in `$XDG_CACHE_HOME/paleofetch`)
|
|
|
|
to speed up subsequent calls. To ignore the contents of the cache (and repopulate it), run
|
|
|
|
|
|
|
|
paleofetch --recache
|
|
|
|
|
2020-04-23 11:24:50 +09:00
|
|
|
The cache file can safely be removed at any time, paleofetch will repopulate it
|
|
|
|
if it is absent.
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
-------------
|
|
|
|
|
2020-04-24 02:19:52 +09:00
|
|
|
Paleofetch is configured by editing `config.h` and recompiling.
|
|
|
|
You can change your logo by including the appropriate header file in the logos directory.
|
|
|
|
The color with which paleo fetch draws the logo can be chosen by defining the `COLOR` macro,
|
|
|
|
look up ANSI escape codes for information on customizing this.
|
|
|
|
|
|
|
|
The last configuration is the `CONFIG` macro, which controls what information paleofetch
|
|
|
|
prints. Each entry in this macro should look like
|
|
|
|
|
|
|
|
{ "NAME: ", getter_function, false }, \
|
|
|
|
|
|
|
|
Take note of the trailing comma and backslash. The first piece, `"NAME: "`, sets
|
|
|
|
what paleofetch prints before printing the information; this usually tells you what
|
|
|
|
bit of information is being shown. The second piece, `getter_function`, sets
|
|
|
|
which function paleofetch will call display. Current available getter functions are
|
|
|
|
|
|
|
|
* `get_title`: prints `host@user` like in a bash prompt. Host and user will be printed in color.
|
|
|
|
* `get_bar`: Meant to be added after `get_title`, underlines the title
|
|
|
|
* `get_os`: Prints your operating system (including distrobution)
|
|
|
|
* `get_host`: Prints the model of computer
|
|
|
|
* `get_kernel`: Prints the version of the linux kernel
|
|
|
|
* `get_uptime`: Shows how long linux has been running
|
|
|
|
* `get_packages`: Shows how many packages you have installed. Currently only works for pacman.
|
|
|
|
* `get_shell`: Shows which shell you are using
|
|
|
|
* `get_resolution`: Prints your screen resolution
|
|
|
|
* `get_terminal`: Prints the name of your current terminal
|
|
|
|
* `get_cpu`: Prints the name of your CPU, number of cores, and maximum frequency
|
|
|
|
* `get_gpu`: (Tries to) print your current GPU
|
|
|
|
* `get_colors1`, `get_colors2`: Prints the colors of your terminal
|
|
|
|
|
|
|
|
To include a blank line between entries, put `SPACER \` between the two lines
|
|
|
|
you want to separate.
|
2020-04-23 07:19:37 +09:00
|
|
|
|
2020-04-22 11:42:34 +09:00
|
|
|
FAQ
|
|
|
|
---
|
|
|
|
|
2020-04-22 14:45:25 +09:00
|
|
|
Q: Do you really run neofetch every time you open a terminal?
|
2020-04-22 14:43:14 +09:00
|
|
|
A: Yes, I like the way it looks and like that it causes my prompt to start midway
|
|
|
|
down the screen. I do acknowledge that the information it presents is not actually useful.
|