mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
Swap dotless i with i
This commit is contained in:
parent
fcbfb9610f
commit
6d18066eb5
2 changed files with 23 additions and 3 deletions
|
@ -20,6 +20,18 @@ in desktopSystemConfiguration {
|
||||||
})
|
})
|
||||||
|
|
||||||
(desktopUserHomeConfiguration {
|
(desktopUserHomeConfiguration {
|
||||||
|
xdg.configFile."xkb/symbols/tr-swapped-i".text = ''
|
||||||
|
default partial
|
||||||
|
xkb_symbols "basic" {
|
||||||
|
include "tr(basic)"
|
||||||
|
|
||||||
|
name[Group1]="Turkish (i and ı swapped)";
|
||||||
|
|
||||||
|
key <AC11> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ idotless, Iabovedot, paragraph , none ]};
|
||||||
|
key <AD08> { type[group1] = "FOUR_LEVEL_SEMIALPHABETIC", [ i , I , apostrophe, dead_caron ]};
|
||||||
|
};
|
||||||
|
'';
|
||||||
|
|
||||||
wayland.windowManager.hyprland = enabled {
|
wayland.windowManager.hyprland = enabled {
|
||||||
settings = {
|
settings = {
|
||||||
monitor = [ ",preferred,auto,1" ];
|
monitor = [ ",preferred,auto,1" ];
|
||||||
|
@ -160,7 +172,7 @@ in desktopSystemConfiguration {
|
||||||
input = {
|
input = {
|
||||||
follow_mouse = 1;
|
follow_mouse = 1;
|
||||||
|
|
||||||
kb_layout = "tr";
|
kb_layout = "tr-swapped-i";
|
||||||
|
|
||||||
repeat_delay = 400;
|
repeat_delay = 400;
|
||||||
repeat_rate = 100;
|
repeat_rate = 100;
|
||||||
|
|
|
@ -1,7 +1,15 @@
|
||||||
{ lib, ... }: with lib; merge
|
{ lib, pkgs, ... }: with lib; merge
|
||||||
|
|
||||||
(systemConfiguration {
|
(systemConfiguration {
|
||||||
console.keyMap = "trq";
|
console.keyMap = pkgs.writeText "trq-swapped-i.map" ''
|
||||||
|
include "${pkgs.kbd}/share/keymaps/i386/qwerty/trq.map"
|
||||||
|
|
||||||
|
keycode 23 = i
|
||||||
|
altgr keycode 23 = +icircumflex
|
||||||
|
altgr shift keycode 23 = +Icircumflex
|
||||||
|
|
||||||
|
keycode 40 = +dotlessi +Idotabove
|
||||||
|
'';
|
||||||
|
|
||||||
i18n.defaultLocale = "C.UTF-8";
|
i18n.defaultLocale = "C.UTF-8";
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue