river: Better handling of keyboard layout (as in: this works)
This commit is contained in:
parent
2e45caeed8
commit
1581f450d2
3 changed files with 10 additions and 10 deletions
|
@ -89,7 +89,8 @@ in
|
||||||
hide-cursor = "when-typing enabled";
|
hide-cursor = "when-typing enabled";
|
||||||
set-cursor-warp = "on-output-change";
|
set-cursor-warp = "on-output-change";
|
||||||
|
|
||||||
keyboard-layout-file = toString ./keyboard-layout;
|
# keyboard-layout-file = toString ./keyboard-layout;
|
||||||
|
keyboard-layout = "-variant kyria us";
|
||||||
|
|
||||||
map = {
|
map = {
|
||||||
normal =
|
normal =
|
||||||
|
@ -213,5 +214,9 @@ in
|
||||||
${cfg.package}/bin/rivertile -view-padding 5 -outer-padding 5 &
|
${cfg.package}/bin/rivertile -view-padding 5 -outer-padding 5 &
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".xkb/symbols/us" = {
|
||||||
|
source = ./keyboard-layout.xkb;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)";
|
|
||||||
};
|
|
4
home-manager/modules/river/keyboard-layout.xkb
Normal file
4
home-manager/modules/river/keyboard-layout.xkb
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
xkb_symbols "kyria" {
|
||||||
|
include "us(altgr-intl)"
|
||||||
|
include "eurosign(5)"
|
||||||
|
};
|
Loading…
Reference in a new issue