mirror of
https://github.com/larstvei/nix-config.git
synced 2024-11-26 08:58:31 +00:00
Add karabiner complex modification (with home-manager)
This commit is contained in:
parent
a22877af9e
commit
0b53209219
@ -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 = {
|
||||
fzf = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user