drop.nvim
drop.nvim copied to clipboard
🍁 Fun little plugin that can be used as a screensaver and on your dashboard
🍁 Drop
Fun little plugin that can be used as a screensaver and on your dashboard.
Features
- 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"
⚡️ Requirements
- Neovim >= 0.8.0
- a Nerd Font
📦 Installation
Install the plugin with your preferred package manager:
-- Packer
use({
"folke/drop.nvim",
event = "VimEnter",
config = function()
require("drop").setup()
end,
})
⚙️ Configuration
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
}