feat: merry christmas!

pull/276/merge v2.2.0
sammyette 2023-12-26 00:18:30 -04:00
parent c3394f7046
commit 3128ef7934
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,12 @@
local lunacolors = require 'lunacolors'
bait.catch('hilbish.init', function()
if os.date '%m' == '12' and hilbish.interactive and hilbish.opts.crimmas then
local crimmas = math.random(1, 31)
print(crimmas)
if crimmas >= 25 and crimmas <= 29 then
print(lunacolors.format '🎄 {green}Merry {red}Christmas{reset} from your {green}favourite{reset} shell {red}(right?){reset} 🌺')
end
end
end)

View File

@ -27,7 +27,8 @@ The nice lil shell for {blue}Lua{reset} fanatics!
]], hilbish.user),
motd = true,
fuzzy = false,
notifyJobFinish = true
notifyJobFinish = true,
crimmas = true
}
for optsName, default in pairs(defaultOpts) do