forked from colonelpanic/dotfiles
Revert "[NixOS] Fix keyboard configuration compilation"
This reverts commit dd441126be
.
This commit is contained in:
parent
dd441126be
commit
582d9a3939
@ -87,15 +87,27 @@
|
|||||||
|
|
||||||
xkbOptions = "ctrl:swapcaps";
|
xkbOptions = "ctrl:swapcaps";
|
||||||
layout = "us+rwin_as_hyper";
|
layout = "us+rwin_as_hyper";
|
||||||
extraLayouts.rwin_as_hyper = {
|
extraLayouts.hyper = {
|
||||||
description = "Right Alt as Hyper key";
|
description = "Right Alt as Hyper key";
|
||||||
languages = [ ];
|
languages = [ ];
|
||||||
symbolsFile = pkgs.writeText "rwin_as_hyper" ''
|
symbolsFile = pkgs.writeText "hyper" ''
|
||||||
partial modifier_keys
|
partial modifier_keys
|
||||||
xkb_symbols "rwin_as_hyper" {
|
xkb_symbols "rwin_as_hyper" {
|
||||||
replace key <RWIN> { [ Hyper_R ] };
|
replace key <RWIN> { [ Hyper_R ] };
|
||||||
modifier_map Mod3 { <HYPR>, Hyper_L, Hyper_R };
|
modifier_map Mod3 { <HYPR>, Hyper_L, Hyper_R };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
partial modifier_keys
|
||||||
|
xkb_symbols "home_as_hyper" {
|
||||||
|
replace key <HOME> { [ Hyper_L ] };
|
||||||
|
modifier_map Mod3 { <HOME>, Hyper_L, Hyper_R };
|
||||||
|
};
|
||||||
|
|
||||||
|
partial modifier_keys
|
||||||
|
xkb_symbols "ralt_as_hyper" {
|
||||||
|
replace key <RALT> { [ Hyper_L, Hyper_L ] };
|
||||||
|
modifier_map Mod3 { <RALT>, Hyper_L };
|
||||||
|
};
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user