summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r--player/lua/osc.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 17816dd507..7af75c2bda 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -46,7 +46,8 @@ local user_opts = {
boxmaxchars = 80, -- title crop threshold for box layout
boxvideo = false, -- apply osc_param.video_margins to video
windowcontrols = "auto", -- whether to show window controls
- windowcontrols_alignment = "right" -- which side to show window controls on
+ windowcontrols_alignment = "right", -- which side to show window controls on
+ greenandgrumpy = false, -- disable santa hat
}
-- read options from config and command-line
@@ -2469,7 +2470,7 @@ function tick()
end
-- Santa hat
- if is_december then
+ if is_december and not user_opts.greenandgrumpy then
for i, line in ipairs(santa_hat_lines) do
ass:new_event()
ass:append(line_prefix .. line)