We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3394f7 commit 3128ef7Copy full SHA for 3128ef7
nature/opts/crimmas.lua
@@ -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
12
+end)
nature/opts/init.lua
@@ -27,7 +27,8 @@ The nice lil shell for {blue}Lua{reset} fanatics!
27
]], hilbish.user),
28
motd = true,
29
fuzzy = false,
30
- notifyJobFinish = true
+ notifyJobFinish = true,
31
+ crimmas = true
32
}
33
34
for optsName, default in pairs(defaultOpts) do
0 commit comments