Archey is traditionally a Linux tool for displaying system info in a pretty way on Arch Linux. It was originally written in Python 2 and then rewriten in Python 3. Archey-go is written from scratch in Go and it compiles to a single statically linked binary. It's fast, it has no external dependencies and doesn't call any system utilities to gather the information. It also allows a decent amount of customization to satisfy your unixporn addiction.
To install Archey-go you must have Go installed and set up to be able to compile it first.
On Arch Linux you can install Go with
pacman -S go go-tools.
Clone the repository and build it.
git clone firstname.lastname@example.org:alexdreptu/archey-go.git cd archey-go go build
The result is a binary called archey-go that you can move wherever you want afterwards.
Alternatively you can install Archey-go via go tooling.
You need to export
$GOBIN then add
E.g. if you're using bash add to ~/.bashrc
export GOPATH=$HOME/.gocode export GOBIN=$GOPATH/bin export PATH+=:$GOBIN
where .gocode can be replaced with any directory name. Then
Assuming you have that set up, you install Archey-go by executing
go get github.com/alexdreptu/archey-go
The archey-go binary will be located in
alectic@particular $ echo $GOBIN /home/alectic/.gocode/bin alectic@particular $ which archey-go /home/alectic/.gocode/bin/archey-go alectic@particular $
Archey-go can be used with or without a config file. The configuration file format is toml. Each flag responsible for configuration has an equivalent variable in its configuration file. See sample_config.toml.
NOTE: Archey-go doesn't include an option to take a screenshot, as I think this shouldn't be handled by Archey-go. Instead you can use scrot. If you just want to take a screenshot of the terminal window, you
scrot -s -q 100 screenshot1.png after which you click on the terminal window. The next window you click your mouse pointer on after you run the command, will be screenshotted. For convenience run it from a command runner, usually set to
alt+F2 or directly from the terminal window in which Archey-go was executed. Otherwise without
-s or with a counter
-cd 5 to screenshot the whole display after 5 seconds.
To install scrot you
pacman -S scrot.
Don't show OS name as read from
Don't show architecture e.g. x86_64 which is displayed next to OS name on the same line.
Don't show kernel version.
Don't show hostname.
Don't show system uptime.
Don't show "Up since" - the time and date when the system booted.
Don't show Window Manager name.
Don't show Desktop Environment name.
Don't show GTK2 theme name. The theme name is read from
$HOME/.gtkrc-2.0, if it doesn't exist it's read from
/etc/gtk-2.0/gtkrc. If neither one of them exists, None is displayed.
Don't show GTK2 icon theme name. The icon theme name is read the same way GTK2 theme name is.
Don't show GTK2 font name. The font name is read the same way GTK2 theme name is.
Don't show GTK2 cursor theme name. The cursor theme name is read the same way GTK2 theme name is.
Don't show GTK3 theme name. The GTK3 theme name is read from
$HOME/.config/gtk-3.0/settings.ini, if it doesn't exist it's read from
/etc/gtk-3.0/settings.ini. If neither one of them exists, None is displayed.
Don't show GTK3 icon theme name. The icon thene name is read the same way GTK3 theme name is.
Don't show GTK3 font name. The font name is read the same way GTK3 theme name is.
Don't show GTK3 cursor theme name. The cursor theme name is read the same way GTK3 theme name is.
Don't show terminal name.
Don't show the default editor's name.
Don't show package count on Arch Linux and Arch Linux based distributions. The package count is set by reading the
/var/lib/pacman/local directory. If the directory doesn't exist (on other distributions), the package count is set to zero.
Don't show memory usage.
Don't show swap usage.
Don't show CPU model.
Don't show root partition disk usage.
Don't show home partition disk usage.
Set the string that separates the variable name from the value (default is ":"). E.g. OS: Arch Linux.
Set the unit (MB or GB) to show memory usage in (default is GB). Case is insensitive.
Set additional paths to be showed to disk usage info. Paths are separated by ",".
Show full paths for root, home and the additionally added paths instead of just their basename.
Show full shell path instead of just its basename.
Set the time and date format to be used for "Up since". The format used is strftime.
Supported strftime formats
|Full weekday name|
|Abbreviated weekday name|
|Full month name|
|Abbreviated month name|
|Equivalent to |
|Day of month as number. Single digits are preceded by zero|
|Day of month as number. Single digits are preceded by a blank|
|Microsecond as a six digit decimal number, zero-padded on the left|
|The hour (24 hour clock) as a number. Single digits are preceded by zero|
|Same as |
|The hour (12 hour clock) as a number. Single digits are preceded by zero|
|The day of the year as a decimal number. Single digits are preced by zeros|
|The hour (24 hour clock) as a number. Single digits are preceded by a blank|
|Millisecond as a three digit decimal number, zero-padded on the left|
|Replaced by the hour (12 hour clock) as a number. Single digits are preceded by blank|
|Replaced by the minute as a decimal number. Single digits are preceded by a zero|
|Replaced by the month as a decimal number. Single digits are preceded by a zero|
|Nanosecond as a 9 digit decimal number, zero-padded on the left|
|am or pm as appropriate|
|AM or PM as appropriate|
|Equivalent to |
|Equivalent to |
|The second as a number. Single digits are preceded by a zero|
|The number of seconds since the Epoch, UTC|
|Equivalant to |
|Equivalent to |
|The weekday (Sunday as first day of the week) as a number|
|Replaced by the year with century as a number|
|Year without century as a number. Single digits are preceded by zero|
|Time zone name|
|The time zone offset from UTC|
Set the color for the variable name. The format is foregroundColor+attributes:backgroundColor+attributes.
Set the color for the text value. Same as
Set the color for the separator string. Same as
Set the color for the logo body.
The color format is: foregroundColor+attributes:backgroundColor+attributes,foregroundColor+attributes:backgroundColor+attributes.
There are two sections of the body, upper and lower separated by ",".
Parts of the format can be omitted. If only colors for the upper body are specified, they will be used to color the whole body.
Set only foreground color:
Set only background color:
Set upper and lower body colors without background colors:
Set only upper foreground and background colors which will colorize the whole body with the same colors:
Set upper foreground and background colors with only lower foreground color:
b = bold foreground
B = Blink foreground
u = underline foreground
i = inverse
h = high intensity (bright) foreground, background
does not work with 256 colors
Show colors and styles
Specify config file. The configuration file is optional, archey-go can be configured via flags. By default archey-go looks first in the current directory for config.toml, if it's not there then it looks for
$HOME/.config/archey-go/config.toml in this order. If neither one of them is there, it looks for