folke / drop.nvim

🍁 Fun little plugin that can be used as a screensaver and on your dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍁 Drop

Fun little plugin that can be used as a screensaver and on your dashboard.

drop.webm

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

πŸ“¦ 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
}

About

🍁 Fun little plugin that can be used as a screensaver and on your dashboard

License:Apache License 2.0


Languages

Language:Lua 100.0%