Fix workspace keybinds replacing all other keybinds

This commit is contained in:
Riley Apeldoorn 2023-05-24 11:56:03 +02:00 committed by Riley Apeldoorn
parent 4a45f67fa4
commit 08a62cf353

View file

@ -63,7 +63,9 @@ in with lib; {
size = 8.0; size = 8.0;
}; };
keybindings = (genWorkspaces { inherit (cfg.workspaces) numbered named; }) // { keybindings = mkMerge [
(genWorkspaces { inherit (cfg.workspaces) numbered named; })
{
"${mod}+h" = "focus left"; "${mod}+h" = "focus left";
"${mod}+j" = "focus down"; "${mod}+j" = "focus down";
"${mod}+k" = "focus up"; "${mod}+k" = "focus up";
@ -86,7 +88,8 @@ in with lib; {
"${mod}+Tab" = "exec ${pkgs.firefox}/bin/firefox"; "${mod}+Tab" = "exec ${pkgs.firefox}/bin/firefox";
"${mod}+Backspace" = "mode kill"; "${mod}+Backspace" = "mode kill";
}; }
];
modes."kill" = { modes."kill" = {
Backspace = "kill; mode default"; Backspace = "kill; mode default";