Skip to content

Commit

Permalink
feat(karabiner): add disable email page preset
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslawgrochowski committed Aug 5, 2024
1 parent 420ff08 commit fcb0c83
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions modules/karabiner.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ in

# Karabiner Elements still need to be set up manually
# this just adds local presets
home.file.karabiner-control = {
home.file.karabiner-terminal = {
target = ".config/karabiner/assets/complex_modifications/terminal.json";
text = builtins.toJSON {
title = "my terminal rules";
Expand All @@ -49,7 +49,7 @@ in
];
};
};
home.file.karabiner-huddle = {
home.file.karabiner-slack = {
target = ".config/karabiner/assets/complex_modifications/slack.json";
text = builtins.toJSON {
title = "my slack rules";
Expand All @@ -63,5 +63,19 @@ in
];
};
};
home.file.karabiner-darwin = {
target = ".config/karabiner/assets/complex_modifications/dariwn.json";
text = builtins.toJSON {
title = "my chrome rules";
rules = [
{
description = "Disable Command + Shift + I (Email current page)";
manipulators = [
(disable "i" [ "left_command" "left_shift" ])
];
}
];
};
};
};
}

0 comments on commit fcb0c83

Please sign in to comment.