From 3219d5acfe45dbfd381b230171d84f3fc53336fb Mon Sep 17 00:00:00 2001 From: xenia Date: Mon, 24 Jun 2024 21:47:55 +0200 Subject: [PATCH] Update fox layout --- nixos/graphical.nix | 2 +- nixos/kblayouts/fox-symbols.xkb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 ] }; };