mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
feat(visuals): cinnamon smooth scrolling
This commit is contained in:
parent
e9bb4a3658
commit
1ac4dd7d98
7 changed files with 122 additions and 4 deletions
5
modules/notifications/default.nix
Normal file
5
modules/notifications/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
imports = [
|
||||
./nvim-notify.nix
|
||||
];
|
||||
}
|
23
modules/notifications/nvim-notify.nix
Normal file
23
modules/notifications/nvim-notify.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with builtins; let
|
||||
cfg = config.vim.notify.nvim-notify;
|
||||
in {
|
||||
options.vim.notify.nvim-notify = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
description = "Enable animated notifications";
|
||||
};
|
||||
};
|
||||
|
||||
config =
|
||||
mkIf cfg.enable
|
||||
{
|
||||
vim.startPlugins = ["nvim-notify"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue