lua rewrite

This commit is contained in:
2026-11-06 04:45:37 +01:00
parent e8ea7e1e2f
commit bd77e8dca2
20 changed files with 462 additions and 29 deletions
Executable
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/lua
local config = require("modules/config")
local show = require("modules/show")
-- Optionally override config defaults like the logo and separator appearance
-- e.g.: to change the separator character from the default to ' / '
-- config.separator.logo_char = " / "
-- config.separator.logo = config.color.gray ..
-- config.separator.logo_char .. config.color.reset
-- Put your desired modules in the table below
local modules = {
require("modules/distro"),
require("modules/theme"),
require("modules/age"),
require("modules/pkgs"),
require("modules/wm"),
require("modules/terminal"),
-- require("modules/cpu"),
-- require("modules/ram"),
-- require("modules/uptime"),
-- require("modules/kernel"),
-- require("modules/shell"),
}
-- Show the logo and fields
show.modules(modules, config)