Files
dotfiles/.config/luastatus/time-date.lua
T
venomade 0bd1501855 Asahi
Soft reset of dotfiles specific to Asahi, Sway and Neovim.
2026-02-11 11:42:58 +00:00

14 lines
446 B
Lua

local months = {'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Sep', 'Out', 'Nov', 'Dez'}
local days = {'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', ''}
widget = {
plugin = 'timer',
cb = function()
local d = os.date('*t')
return {
{full_text = string.format('%s %d %s', days[d.wday] , d.day, months[d.month])},
{full_text = string.format('%02d:%02d ', d.hour, d.min)},
}
end,
}