1
Fork 0
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:
RGBCube 2024-05-17 23:46:44 +03:00
parent fcbfb9610f
commit 6d18066eb5
No known key found for this signature in database
2 changed files with 23 additions and 3 deletions

View file

@ -20,6 +20,18 @@ in desktopSystemConfiguration {
})
(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 {
settings = {
monitor = [ ",preferred,auto,1" ];
@ -160,7 +172,7 @@ in desktopSystemConfiguration {
input = {
follow_mouse = 1;
kb_layout = "tr";
kb_layout = "tr-swapped-i";
repeat_delay = 400;
repeat_rate = 100;

View file

@ -1,7 +1,15 @@
{ lib, ... }: with lib; merge
{ lib, pkgs, ... }: with lib; merge
(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";
})