Compare commits
2 Commits
31f362aa45
...
fbeed753e9
| Author | SHA1 | Date | |
|---|---|---|---|
| fbeed753e9 | |||
| 89eb11f635 |
25
modules/home/users/msyds/sioyek.nix
Normal file
25
modules/home/users/msyds/sioyek.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.users.msyds.sioyek;
|
||||
in {
|
||||
options.sydnix.users.msyds.sioyek = {
|
||||
enable = lib.mkEnableOption "Sioyek";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.sioyek = {
|
||||
enable = true;
|
||||
bindings = {
|
||||
"move_down_smooth" = "j";
|
||||
"move_up_smooth" = "k";
|
||||
"screen_down_smooth" = [ "d" "<C-d>" ];
|
||||
"screen_up_smooth" = [ "u" "<C-u>" ];
|
||||
};
|
||||
config = {
|
||||
startup_commands = ''
|
||||
toggle_dark_mode
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -68,6 +68,7 @@
|
||||
syncthing.enable = true;
|
||||
fonts.enable = true;
|
||||
dank-material-shell.enable = true;
|
||||
sioyek.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user