Skip to content

Instantly share code, notes, and snippets.

View leonardotrp's full-sized avatar

Leonardo Pereira leonardotrp

View GitHub Profile
@meskarune
meskarune / cal.lua
Last active June 11, 2024 12:31
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")