Keyd: Bring micmute back to <C-z>.

This commit is contained in:
Dmitry Voronin 2025-01-21 11:33:46 +03:00
parent effd05ed3b
commit 21f7c23784
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -6,7 +6,6 @@
}: }:
let let
cfg = config.module.keyd; cfg = config.module.keyd;
timeout = 150;
in in
{ {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
@ -21,17 +20,16 @@ in
main = { main = {
# down = "micmute"; # down = "micmute";
# 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.
compose = "layer(layer_number)"; # Number input layer. compose = "layer(layer_number)"; # Number input layer.
delete = "backslash"; delete = "backslash";
esc = "timeout(grave, ${toString timeout}, print)"; # System controls. esc = "timeout(grave, 150, print)"; # System controls.
left = "compose"; # Number input layer. left = "compose"; # Number input layer.
leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc. leftcontrol = "overload(layer_alternative, leftcontrol)"; # Alternative layer for home, end etc.
print = "compose"; print = "compose";
rightcontrol = "timeout(micmute, ${toString timeout}, layer(layer_control))"; # Media and other controls. rightcontrol = "layer(layer_control)"; # Media and other controls.
rightshift = "backspace"; # Backspace. rightshift = "backspace"; # Backspace.
}; };
@ -72,7 +70,7 @@ in
v = "paste"; v = "paste";
w = "pageup"; w = "pageup";
x = "cut"; x = "cut";
# z = "micmute"; z = "micmute";
}; };
# Media controls. # Media controls.