move keybindings block into the config

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-18 14:30:53 +00:00
parent 90741d1d61
commit d26a8d7399
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -23,12 +23,12 @@
subpixel = "rgb";
};
};
};
keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier;
in lib.mkOptionDefault {
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
"${modifier}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun";
keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier;
in lib.mkOptionDefault {
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
"${modifier}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun";
};
};
};
}