Hilbifetch is your average system info fetch inspired by Neofetch, my own
Bunnyfetch and the others.
But this time, it's written and configured in Lua.
- Hilbish master branch
Hilbifetch is in a very early state, expect it to look weird or have odd bugs.
git clone https://github.com/TorchedSammy/Hilbifetch
cd Hilbifetch
sudo ./install.lua
To install to a different directory (like $HOME/bin
):
PREFIX=/usr/local ./install.lua
hilbifetch
(or ./hilbifetch.lua
)
Configuration is done via the Lua file ~/.config/hilbifetch/init.lua
.
There are a few functions and variables available. They are all accessed
via the global hilbifetch
table.
sep
: Separator used for info.ascii
: ASCII art.order
: A table describing the order of info. The format for keys is either a string of an info name or a table with the first entry being the name and other options. Example:
hilbifetch.order = {
{'title', showName = false},
{'infosep', showName = false},
'os',
'kernel',
'uptime',
'terminal',
'shell',
{'padding', showName = false},
{'colors', showName = false}
}
This is the default order of info. The options available for info are:
showName
- Whether to show the display name.
color
- Color of the info text.
nameColor
- Color of the display name.
addInfo(name, callback)
: adds info withname
.getInfo(name)
: gets info fromname
setDisplay(name)
: sets the display name ofname
d info. if the display name isn't set, it'll use the normal name instead.getDisplay(name)
: gets the display name of thename
d info.
Hilbifetch is licensed under the BSD 3-Clause license.
Read here for more info.