initalize

This commit is contained in:
xenomxrph
2025-07-16 15:00:51 +02:00
commit 8d16baf6f1
40 changed files with 2353 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
local constants = require("constants")
local calendar = sbar.add("item", constants.items.CALENDAR, {
position = "right",
update_freq = 1,
icon = { padding_left = 0, padding_right = 0 }
})
calendar:subscribe({ "forced", "routine", "system_woke" }, function(env)
calendar:set({
label = os.date("%a %d %b, %H:%M"),
})
end)
calendar:subscribe("mouse.clicked", function(env)
sbar.exec("open -a 'Calendar'")
end)