Add karabiner complex modification (with home-manager)

This commit is contained in:
larstvei 2023-08-05 13:37:39 +02:00
parent a22877af9e
commit 0b53209219

View File

@ -93,6 +93,33 @@
}; };
}; };
home.file.karabiner = {
target = ".config/karabiner/assets/complex_modifications/df_escape.json";
text = builtins.toJSON {
title = "Simultaneously press f + d to escape";
rules = [{
description = "Simultaneously press f + d to escape";
manipulators = [
{
type = "basic";
from = {
modifiers = {
optional = [ "any" ];
};
simultaneous = [
{ key_code = "f"; }
{ key_code = "d"; }
];
};
to = [
{ key_code = "escape"; }
];
}
];
}];
};
};
programs = { programs = {
fzf = { fzf = {
enable = true; enable = true;