Skip to content

Commit

Permalink
feat: merry christmas!
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Dec 26, 2023
1 parent c3394f7 commit 3128ef7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions nature/opts/crimmas.lua
Original file line number Diff line number Diff line change
@@ -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)
3 changes: 2 additions & 1 deletion nature/opts/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3128ef7

Please sign in to comment.