Compare commits
2 commits
8f77f1e78f
...
a8add06126
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | a8add06126 | ||
Dmitry Voronin | 4ed143d36c |
49
Readme.md
49
Readme.md
|
@ -52,3 +52,52 @@ Start from the [Flake](flake.nix) file and follow the comments. If you have any
|
||||||
## WIP: Configuration highlights.
|
## 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.
|
* [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>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
main = {
|
main = {
|
||||||
backspace = "delete"; # Delete key on backspace.
|
backspace = "delete"; # Delete key on backspace.
|
||||||
capslock = "overload(control, esc)"; # Ctrl/esc combo.
|
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.
|
esc = "${key.sysctrl}"; # System controls.
|
||||||
leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc.
|
leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc.
|
||||||
rightcontrol = "layer(layer_control)"; # Media and other controls.
|
rightcontrol = "layer(layer_control)"; # Media and other controls.
|
||||||
|
@ -48,7 +48,32 @@
|
||||||
z = "mute";
|
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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue