mirror of https://github.com/Hilbis/Hilbish
parent
c3394f7046
commit
3128ef7934
|
@ -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)
|
|
@ -27,7 +27,8 @@ The nice lil shell for {blue}Lua{reset} fanatics!
|
||||||
]], hilbish.user),
|
]], hilbish.user),
|
||||||
motd = true,
|
motd = true,
|
||||||
fuzzy = false,
|
fuzzy = false,
|
||||||
notifyJobFinish = true
|
notifyJobFinish = true,
|
||||||
|
crimmas = true
|
||||||
}
|
}
|
||||||
|
|
||||||
for optsName, default in pairs(defaultOpts) do
|
for optsName, default in pairs(defaultOpts) do
|
||||||
|
|
Loading…
Reference in New Issue