river: Better handling of keyboard layout (as in: this works)

This commit is contained in:
Erwin Boskma 2024-05-08 15:53:21 +02:00
parent 2e45caeed8
commit 1581f450d2
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk
3 changed files with 10 additions and 10 deletions

View file

@ -89,7 +89,8 @@ in
hide-cursor = "when-typing enabled";
set-cursor-warp = "on-output-change";
keyboard-layout-file = toString ./keyboard-layout;
# keyboard-layout-file = toString ./keyboard-layout;
keyboard-layout = "-variant kyria us";
map = {
normal =
@ -213,5 +214,9 @@ in
${cfg.package}/bin/rivertile -view-padding 5 -outer-padding 5 &
'';
};
home.file.".xkb/symbols/us" = {
source = ./keyboard-layout.xkb;
};
};
}

View file

@ -1,9 +0,0 @@
// mode: c-ts-mode
default partial alphanumeric_keys;
xkb_symbols "basic" {
include "us(altgr-intl)";
include "eurosign(5)";
name[Group1] = "English (US, international with AltGr and Euro sign)";
};

View file

@ -0,0 +1,4 @@
xkb_symbols "kyria" {
include "us(altgr-intl)"
include "eurosign(5)"
};