Xremap: Difference between revisions

Deckori (talk | contribs)
m Remapping the Copilot key: Corrected code that doesn't work anymore and added more instructions
DHCP (talk | contribs)
m Remapping the Copilot key: fix indentation
 
Line 24: Line 24:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.xremap = {
services.xremap = {
      enable = true;
  enable = true;
      package = pkgs.xremap; # Use the official package to skip building xremap from source
  package = pkgs.xremap; # Use the official package to skip building xremap from source
      userName = "username"; # The username of your user
  userName = "username"; # The username of your user
      yamlConfig = ''
  yamlConfig = ''
        experimental_map:
    experimental_map:
          - chords:
      - chords:
              - keys: [Super_L, Shift_L, F23]
          - keys: [Super_L, Shift_L, F23]
                actions: Ctrl_R
            actions: Ctrl_R
                timeout: 30
            timeout: 30
      '';
  '';
 
};
};
</nowiki>}}
</nowiki>}}