forked from Joshument/luafetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
55 lines (47 loc) · 1.34 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
local config = {}
-- The colour of the labels
config.primaryColor = "cyan"
-- The color of the information
config.secondaryColor = "white"
--[[
The order of the labels to display
Supported labels: user, os, architecture, host, kernel, terminal, cpu, gpu, shell, memory, lua
Other labels will be displayed raw
For raw labels, you may use the Lunacolours formatting. Check https://github.com/Rosettea/Lunacolors/blob/master/init.lua for list of options.
]]--
config.order = {
"user",
"{white}--------------------",
"os",
"architecture",
"host",
"kernel",
"terminal",
"cpu",
"gpu",
"shell",
"memory",
"lua"
}
-- Values shown here will be displayed as their raw return value, rather than having things appended to it
config.showRaw = {
["user"] = true,
}
-- Use this table if you wish to change the way that a certain value is displayed
config.prettyOrder = {
["user"] = "User",
["os"] = "OS",
["architecture"] = "Architecture",
["host"] = "Host",
["kernel"] = "Kernel",
["terminal"] = "Terminal",
["cpu"] = "CPU",
["gpu"] = "GPU",
["shell"] = "Shell",
["memory"] = "Memory",
["lua"] = "Lua Version",
}
-- Seperator between the label and the value of an item
-- If you want, you can also use Lunacolor colour codes on this
config.seperator = ": "
return config