Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simrat39/desktop-notify.nvim

Show desktop notifications for vim.notify calls
https://github.com/simrat39/desktop-notify.nvim

Last synced: 3 months ago
JSON representation

Show desktop notifications for vim.notify calls

Awesome Lists containing this project

README

        

# desktop-notify.nvim
Show desktop notifications for vim.notify calls

## Requirements

- `neovim 0.5+`
- `plenary.nvim`

## Supported platforms
- Linux (notify-send)

## Installation

using `packer.nvim`

```lua
use 'nvim-lua/plenary.nvim'
use 'simrat39/desktop-notify.nvim'
```

## Usage

```lua
-- Overrides vim.notify
require("desktop-notify").override_vim_notify()

-- Or, plugin authors/users can use it to send desktop notifications for
-- background tasks. The function works the same way as vim.notify.

require("desktop-notify").notify("Your message here")
```