Fun little plugin that can be used as a screensaver and on your dashboard.
This is my personnal fork, to add some themes.
Themes currently added :
- "blood"
drop.webm
- automatically enables/disables on dashboard plugins:
- runs as a screen saver when no there is no activity for a specified amount of time
- currently, the following themes are available:
"leaves"
,"snow"
,"stars"
,"xmas"
,"spring"
,"summer"
,"blood"
- Neovim >= 0.8.0
- a Nerd Font
Install the plugin with your preferred package manager:
-- Packer
use({
"folke/drop.nvim",
event = "VimEnter",
config = function()
require("drop").setup()
end,
})
drop.nvim comes with the following defaults:
{
---@type DropTheme|string
theme = "leaves", -- can be one of rhe default themes, or a custom theme
max = 40, -- maximum number of drops on the screen
interval = 150, -- every 150ms we update the drops
screensaver = 1000 * 60 * 5, -- show after 5 minutes. Set to false, to disable
filetypes = { "dashboard", "alpha", "starter" }, -- will enable/disable automatically for the following filetypes
}