fix: home-manager config for Morty kbd file
This commit is contained in:
parent
742c8c26eb
commit
ee22a090aa
1 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
{pkgs, ... }:
|
{ ... }:
|
||||||
let
|
{
|
||||||
kbd_file = pkgs.writeText "gpdwinmax.kbd"
|
home.file.".config/xkb/symbols/gpdwinmax".text =
|
||||||
''
|
''
|
||||||
default partial alphanumeric_keys
|
default partial alphanumeric_keys
|
||||||
xkb_symbols "us-intl-winmax" {
|
xkb_symbols "us-intl-winmax" {
|
||||||
|
@ -11,12 +11,10 @@ let
|
||||||
# include "level3(ralt_switch)"
|
# include "level3(ralt_switch)"
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
in
|
|
||||||
{
|
|
||||||
wayland.windowManager.sway.checkConfig = false;
|
wayland.windowManager.sway.checkConfig = false;
|
||||||
wayland.windowManager.sway.config.input = {
|
wayland.windowManager.sway.config.input = {
|
||||||
"1:1:AT_Translated_Set_2_keyboard" = {
|
"1:1:AT_Translated_Set_2_keyboard" = {
|
||||||
xkb_layout = "${kbd_file}";
|
xkb_layout = "gpdwinmax";
|
||||||
};
|
};
|
||||||
"1046:928:Goodix_Capacitive_TouchScreen" = {
|
"1046:928:Goodix_Capacitive_TouchScreen" = {
|
||||||
map_to_output = "eDP-1";
|
map_to_output = "eDP-1";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue