diff --git a/nixos/graphical.nix b/nixos/graphical.nix index d22c2057..4d77908f 100644 --- a/nixos/graphical.nix +++ b/nixos/graphical.nix @@ -24,12 +24,12 @@ xkb = { layout = "fox"; + options = "caps:escape"; extraLayouts.fox = { description = "Layout suitable to be used by a fox"; languages = ["se"]; symbolsFile = ./kblayouts/fox-symbols.xkb; - typesFile = ./kblayouts/fox-types.xkb; }; }; }; diff --git a/nixos/kblayouts/fox-symbols.xkb b/nixos/kblayouts/fox-symbols.xkb index db3aac22..0c69f371 100644 --- a/nixos/kblayouts/fox-symbols.xkb +++ b/nixos/kblayouts/fox-symbols.xkb @@ -1,3 +1,4 @@ +default xkb_symbols "fox" { key {[ U1F408, U1F431, U1F408, U1F431 ]}; key {[ 1, ampersand, VoidSymbol, VoidSymbol ]}; @@ -52,4 +53,7 @@ xkb_symbols "fox" { key {[ z, Z, VoidSymbol, VoidSymbol ]}; key {[ space, space, space, space ]}; + + include "level3(lalt_switch)" + key { [ Alt_R ] }; };