Skip to content

Commit

Permalink
nixos/keymapper: test context's condition inversion
Browse files Browse the repository at this point in the history
  • Loading branch information
spitulax committed Jul 24, 2024
1 parent 477ae11 commit db4a58d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/tests/keymapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let
[stage]
[class="kitty"]
[class="kitty" system!="Darwin"]
edit_copy >> Control{Shift{C}}
edit_paste >> Control{Shift{V}}
'';
Expand Down Expand Up @@ -46,6 +46,7 @@ in
{ stage = true; }
{
class = "kitty";
nosystem = "Darwin";
mappings = [
{ input = "edit_copy"; output = "Control{Shift{C}}"; }
{ input = "edit_paste"; output = "Control{Shift{V}}"; }
Expand Down

0 comments on commit db4a58d

Please sign in to comment.