sore thumb relief: dual alt keyboard

This commit is contained in:
Henrik Bakken
2026-02-21 00:13:04 +01:00
parent 8fb6d19af1
commit f2494ee53e
3 changed files with 18 additions and 4 deletions
+2 -3
View File
@@ -376,9 +376,8 @@ input type:touchpad {
} }
input type:keyboard { input type:keyboard {
xkb_layout "us" xkb_layout "us,us_norwegian"
xkb_variant "altgr-weur" xkb_options "grp:shifts_toggle,caps:escape"
xkb_options "caps:escape"
} }
input type:mouse { input type:mouse {
+15
View File
@@ -0,0 +1,15 @@
partial alphanumeric_keys
xkb_symbols "basic" {
include "us(basic)"
name[Group1]= "US Custom Norwegian";
key <AD01> { [ q, Q, aring, Aring ] };
key <AD11> { [ bracketleft, braceleft, aring, Aring ] };
key <AD02> { [ w, W, ae, AE ] };
key <AC11> { [apostrophe, quotedbl, ae, AE ] };
key <AD05> { [ t, T, oslash, Oslash ] };
key <AC10> { [ semicolon, colon, oslash, Oslash ] };
key <AC03> { [ d, D, eacute, Eacute ] };
include "level3(ralt_switch)"
};
+1 -1
View File
@@ -6,7 +6,6 @@
# ] # ]
# /// # ///
# TODO # TODO
# fix btop colors
# pre-luks remote ssh # pre-luks remote ssh
# add ufw setup # add ufw setup
# - sudo ufw allow 22/tcp comment "ssh" # - sudo ufw allow 22/tcp comment "ssh"
@@ -404,6 +403,7 @@ def install_sway(overwrite: bool, reinstall: bool) -> None:
"nwg-drawer", "nwg-drawer",
"xdg-desktop-portal-wlr", "xdg-desktop-portal-wlr",
"foot", "foot",
"xkb/symbols",
]: ]:
helper_clone_foldercontents(CFG_SRC, CFG_TGT, sub, overwrite) helper_clone_foldercontents(CFG_SRC, CFG_TGT, sub, overwrite)
helper_maybe_copy(CFG_SRC, CFG_TGT, "xdg-terminals.list", overwrite, symlink=True) helper_maybe_copy(CFG_SRC, CFG_TGT, "xdg-terminals.list", overwrite, symlink=True)