aboutsummaryrefslogtreecommitdiff
path: root/.config/fetchit/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/fetchit/init.lua')
-rw-r--r--.config/fetchit/init.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/fetchit/init.lua b/.config/fetchit/init.lua
new file mode 100644
index 0000000..b804f86
--- /dev/null
+++ b/.config/fetchit/init.lua
@@ -0,0 +1,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