Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lowitea/aw-watcher.nvim

⌛ A neovim watcher for ActivityWatch time tracker.
https://github.com/lowitea/aw-watcher.nvim

activitywatch-watcher neovim neovim-plugin nvim nvim-plugin productivity

Last synced: about 10 hours ago
JSON representation

⌛ A neovim watcher for ActivityWatch time tracker.

Awesome Lists containing this project

README

        

# ⌛ ActivityWatch NeoVim Watcher

![ActivityWatch](aw_banner.png)

A neovim watcher for [ActivityWatch](https://activitywatch.net/) time tracker.

## ✨ Tracks

- 🪵 Selected git branch
- 📝 Edited files
- 💻 Language of files
- 💼 Your projects

## 🔥 Status

The project is ready to be used and actively maintained.

## ⚡️ Requirements

- Neovim >= 0.9.0
- curl

## 📦 Installation

Install the plugin with your preferred package manager.

Example for [lazy.nvim](https://github.com/folke/lazy.nvim)

```lua
-- lazy.nvim
{
"lowitea/aw-watcher.nvim",
opts = { -- required, but can be empty table: {}
-- add any options here
-- for example:
aw_server = {
host = "127.0.0.1",
port = 5600,
},
},
}
```

## ⚙️ Configuration

**aw-watcher.nvim** comes with the following defaults:

```lua
{
bucket = {
hostname = nil, -- by default value of HOSTNAME env variable
name = nil, -- by default "aw-watcher-neovim_" .. bucket.hostname
},
aw_server = {
host = "127.0.0.1",
port = 5600,
ssl_enable = false,
pulsetime = 30,
},
}
```