Skip to content
This repository was archived by the owner on Apr 28, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ which function paleofetch will call display. Current available getter functions
* `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_battery_1_percentage`, `get_battery_2_percentage`: Prints out the percentage of the nth battery and whether or not it is charging. The label is treated as a format string internally. If you want to use the model name of the battery inside of the label, use `%s` in its place. If you do not want to use the model name, you do not have to put `%s` in the label.
* `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
Expand Down
35 changes: 18 additions & 17 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@

#define CONFIG \
{ \
/* name function cached */\
{ "", get_title, false }, \
{ "", get_bar, false }, \
{ "OS: ", get_os, true }, \
{ "Host: ", get_host, true }, \
{ "Kernel: ", get_kernel, true }, \
{ "Uptime: ", get_uptime, false }, \
{ "Battery: ", get_battery_percentage, false }, \
/* name function cached */\
{ "", get_title, false }, \
{ "", get_bar, false }, \
{ "OS: ", get_os, true }, \
{ "Host: ", get_host, true }, \
{ "Kernel: ", get_kernel, true }, \
{ "Uptime: ", get_uptime, false }, \
{ "Battery: ", get_battery_1_percentage, false }, \
{ "%s: ", get_battery_2_percentage, false }, \
SPACER \
{ "Packages: ", get_packages_pacman, false }, \
{ "Shell: ", get_shell, false }, \
{ "Resolution: ", get_resolution, false }, \
{ "Terminal: ", get_terminal, false }, \
{ "Packages: ", get_packages_pacman, false }, \
{ "Shell: ", get_shell, false }, \
{ "Resolution: ", get_resolution, false }, \
{ "Terminal: ", get_terminal, false }, \
SPACER \
{ "CPU: ", get_cpu, true }, \
{ "GPU: ", get_gpu1, true }, \
{ "Memory: ", get_memory, false }, \
{ "CPU: ", get_cpu, true }, \
{ "GPU: ", get_gpu1, true }, \
{ "Memory: ", get_memory, false }, \
SPACER \
{ "", get_colors1, false }, \
{ "", get_colors2, false }, \
{ "", get_colors1, false }, \
{ "", get_colors2, false }, \
}

#define CPU_CONFIG \
Expand Down
Loading