Skip to content

Commit 3128ef7

Browse files
committed
feat: merry christmas!
1 parent c3394f7 commit 3128ef7

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Diff for: nature/opts/crimmas.lua

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
local lunacolors = require 'lunacolors'
2+
3+
bait.catch('hilbish.init', function()
4+
5+
if os.date '%m' == '12' and hilbish.interactive and hilbish.opts.crimmas then
6+
local crimmas = math.random(1, 31)
7+
print(crimmas)
8+
if crimmas >= 25 and crimmas <= 29 then
9+
print(lunacolors.format '🎄 {green}Merry {red}Christmas{reset} from your {green}favourite{reset} shell {red}(right?){reset} 🌺')
10+
end
11+
end
12+
end)

Diff for: nature/opts/init.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ The nice lil shell for {blue}Lua{reset} fanatics!
2727
]], hilbish.user),
2828
motd = true,
2929
fuzzy = false,
30-
notifyJobFinish = true
30+
notifyJobFinish = true,
31+
crimmas = true
3132
}
3233

3334
for optsName, default in pairs(defaultOpts) do

0 commit comments

Comments
 (0)