add swedish us layout

master
Rachel Lambda Samuelsson 2023-10-18 23:26:21 +02:00
parent 9438e80797
commit 707e3a3738
2 changed files with 15 additions and 1 deletions

View File

@ -109,8 +109,13 @@
enable = true;
desktopManager.plasma5.enable = true;
displayManager.startx.enable = true;
layout = "us,se";
xkbOptions = "grp:alt_caps_toggle";
layout = "sus";
extraLayouts.sus = {
description = "Swedish US";
languages = [ "se" ];
symbolsFile = ../shared/sus.xkb;
};
libinput = {
enable = true;
touchpad = {

9
shared/sus.xkb 100644
View File

@ -0,0 +1,9 @@
xkb_symbols "sus" {
include "pc"
include "se(us)"
key <AD11> {[ bracketleft, braceleft, aring, Aring ]};
key <AC10> {[ semicolon, colon, odiaeresis, Odiaeresis ]};
key <AC11> {[ apostrophe, quatedbl, adiaeresis, Adiaeresis ]};
};