Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add installation instructions for LazyVim #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ aw-watcher-nvim
- `curl`
- `git` (Optional, only if `aw_branch` is true)

### Installation with LazyVim

Add the following to your plugins folder as `aw-watcher-nvim.lua`:

```lua
return {
{
"Luxed/aw-watcher-nvim",
cmd = "AWStart",
keys = {},
opts = {},
},
}

```

### Configuration

Even though this is a Neovim only version, its configuration is still fully backwards compatible with the [vim version](https://github.com/ActivityWatch/aw-watcher-vim).
Expand Down Expand Up @@ -40,7 +56,7 @@ local aw_section = {
}
~~~

To make this "section" work, see the lualine documentation [here](https://github.com/nvim-lualine/lualine.nvim#usage-and-customization).
To make this "section" work, see the lualine documentation [here](https://github.com/nvim-lualine/lualine.nvim#usage-and-customization).
To have the same configuration as in the pictures, do the following:

~~~lua
Expand Down