Skip to content

Commit ad4eb1e

Browse files
committed
plugins/timerly: init
1 parent cbd5f7d commit ad4eb1e

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

plugins/by-name/timerly/default.nix

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
config,
3+
lib,
4+
pkgs,
5+
...
6+
}:
7+
lib.nixvim.plugins.mkNeovimPlugin {
8+
name = "timerly";
9+
packPathName = "timerly.nvim";
10+
package = "timerly";
11+
12+
settingsExample = {
13+
minutes = [
14+
30
15+
10
16+
];
17+
};
18+
19+
maintainers = [ lib.maintainers.FKouhai ];
20+
21+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
empty = {
3+
plugins.timerly.enable = true;
4+
};
5+
6+
example = {
7+
plugins = {
8+
timerly = {
9+
enable = true;
10+
11+
settings = {
12+
on_start = null;
13+
on_finish.__raw = ''
14+
function()
15+
vim.notify "Time is up!"
16+
end
17+
'';
18+
minutes = [
19+
30
20+
10
21+
];
22+
mapping = null;
23+
position = "top-left";
24+
};
25+
};
26+
};
27+
};
28+
}

0 commit comments

Comments
 (0)