Keyd: Use timeouts for controls.
This commit is contained in:
parent
cac0e54f41
commit
4a062abfd4
|
@ -20,7 +20,9 @@ in
|
||||||
# NOTE: Use `wev` to find key names.
|
# NOTE: Use `wev` to find key names.
|
||||||
main = {
|
main = {
|
||||||
# down = "micmute";
|
# down = "micmute";
|
||||||
|
# leftcontrol = "overload(layer_alternative, micmute)"; # Alternative layer for home, end etc.
|
||||||
# right = "compose";
|
# right = "compose";
|
||||||
|
# rightcontrol = "overload(layer_control, mute)"; # Media and other controls.
|
||||||
# up = "mute";
|
# up = "mute";
|
||||||
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.
|
||||||
|
@ -28,9 +30,9 @@ in
|
||||||
delete = "backslash";
|
delete = "backslash";
|
||||||
esc = "timeout(grave, ${toString timeout}, print)"; # System controls.
|
esc = "timeout(grave, ${toString timeout}, print)"; # System controls.
|
||||||
left = "compose"; # Number input layer.
|
left = "compose"; # Number input layer.
|
||||||
leftcontrol = "overload(layer_alternative, micmute)"; # Alternative layer for home, end etc.
|
leftcontrol = "timeout(micmute, ${toString timeout}, layer(layer_alternative))"; # Alternative layer for home, end etc.
|
||||||
print = "compose";
|
print = "compose";
|
||||||
rightcontrol = "overload(layer_control, mute)"; # Media and other controls.
|
rightcontrol = "timeout(mute, ${toString timeout}, layer(layer_control))"; # Media and other controls.
|
||||||
rightshift = "backspace"; # Backspace.
|
rightshift = "backspace"; # Backspace.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue