Skip to content

Instantly share code, notes, and snippets.

@norin-dlkh
norin-dlkh / cal.lua
Created November 29, 2024 15:11 — forked from meskarune/cal.lua
conky calendar and weather
#!/usr/bin/env lua
conky_color = "${color1}%2d${color}"
t = os.date('*t', os.time())
year, month, currentday = t.year, t.month, t.day
daystart = os.date("*t",os.time{year=year,month=month,day=01}).wday
month_name = os.date("%B")