aboutsummaryrefslogtreecommitdiff
path: root/.config/fetchit/init.lua
blob: b804f864e6ab50d66a1632a10bc19f6558cae496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
column_padding = 2

art = {
  source = "./logos/logo.txt"
}

function fetch()
  return {
    columns = {
      art.out,
      {
        color.white(user.name .. "@" .. host.name),
        color.red("os:      ") .. string.lower("dacctal os (tm)"),
        color.yellow("kernel:  ") .. "linux " .. kernel.release,
        color.green("cpu:     ") .. string.lower(cpu.name),
        color.blue("gpu:     ") .. "amd radeon rx 7700 xt",
        color.magenta("ram:     ") .. string.format("%.1fGB/%.1fGB (%.1f%%)", memory.used_gb, memory.total_gb, memory.percent),
      }
  }
}
end