Skip to content

Commit b0279f4

Browse files
committed
feat(reaper): add smart zoom script
1 parent 1e0e4ca commit b0279f4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

modules/desktop/audio/daws/reaper/scripts/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
./MKSlicer.nix
44
./MKShaperStutter.nix
55
./ColorPalette.nix
6+
./smartzoom.nix
67
];
78
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{ inputs, lib, config, user, ... }: let
2+
cfg = config.modules.desktop.audio.daws.reaper;
3+
script = "${inputs.reascripts}/Various/amagalma_Smart contextual zoom.lua";
4+
in {
5+
home-manager.users.${user} = lib.mkIf cfg.enable {
6+
programs.reanix = {
7+
scripts.ColorPalette = {
8+
source = script;
9+
key = "0 96"; # `
10+
};
11+
12+
extensions.js_ReaScriptAPI.enable = true;
13+
};
14+
};
15+
}

0 commit comments

Comments
 (0)