Compare commits

...

2 commits

Author SHA1 Message Date
Dmitry Voronin a8add06126
Readme : Add keyboard layouts. 2024-06-04 23:21:52 +03:00
Dmitry Voronin 4ed143d36c
Keyd : Add Number input layer. 2024-06-04 22:17:06 +03:00
2 changed files with 76 additions and 2 deletions

View file

@ -52,3 +52,52 @@ Start from the [Flake](flake.nix) file and follow the comments. If you have any
## WIP: Configuration highlights.
* [Keyd](module/common/Keyd.nix) allows you to have QMK-like keyboard remaps. Killer-feature is the ability to have remaps per-application. I have pretty common remaps like CapsLock to Ctrl/Esc combo, Right Shift to Backspace, Backspace to Delete and overlays for System/Windows/Media/Application controls as well as Macros.
## Keyboard layouts.
Yellow are modifier keys, they toggle layers when pressed. Green ones are just modified keys.
<details>
<summary>Default</summary>
<img src="https://i.imgur.com/MBb23eB.png" />
</details>
<details>
<summary>Alternative Keys</summary>
<img src="https://i.imgur.com/X9CGhLb.png" />
</details>
<details>
<summary>WM keys</summary>
Sway:
<img src="https://i.imgur.com/rr9OZ64.png" />
Gnome:
<img src="https://i.imgur.com/TrqC5jt.png" />
</details>
<details>
<summary>Per-application controls</summary>
Firefox:
<img src="https://i.imgur.com/GI0apoV.png" />
Jetbrains:
<img src="https://i.imgur.com/scijaJI.png" />
Tmux:
<img src="https://i.imgur.com/Soo85vk.png" />
</details>
<details>
<summary>Extra numbers</summary>
<img src="https://i.imgur.com/PW5eGSF.png" />
</details>
<details>
<summary>Media Controls</summary>
<img src="https://i.imgur.com/p9trGMi.png" />
</details>
<details>
<summary>System controls (Sway)</summary>
<img src="https://i.imgur.com/rBFA2Xu.png" />
</details>

View file

@ -9,7 +9,7 @@
main = {
backspace = "delete"; # Delete key on backspace.
capslock = "overload(control, esc)"; # Ctrl/esc combo.
compose = "layer(layer_macro)"; # Input macros.
compose = "layer(layer_number)"; # Number input layer.
esc = "${key.sysctrl}"; # System controls.
leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc.
rightcontrol = "layer(layer_control)"; # Media and other controls.
@ -48,7 +48,32 @@
z = "mute";
};
layer_macro = {};
# Number inputs.
layer_number = {
q = "1";
w = "2";
e = "3";
a = "4";
s = "5";
d = "6";
z = "7";
x = "8";
c = "9";
space = "0";
"1" = "f13";
"2" = "f14";
"3" = "f15";
"4" = "f16";
"5" = "f17";
"6" = "f18";
"7" = "f19";
"8" = "f20";
"9" = "f21";
"0" = "f22";
"-" = "f23";
"=" = "f24";
enter = "kpenter";
};
};
};
};