nixnew/modules/user/modules/walker/default.nix

48 lines
922 B
Nix

{ inputs, impurity, ... }: {
imports = [ inputs.walker.homeManagerModules.walker ];
programs.walker = {
enabled = true;
runAsService = true;
config = {
fullscreen = true;
scrollbar_policy = "external";
activation_mode.use_alt = true;
align = {
width = 500;
horizontal = "center";
vertical = "center";
margins.top = 0;
};
list = {
height = 500;
fixed_height = true;
};
modules = [
{
name = "applications";
prefix = "";
}
{
name = "runner";
prefix = ">";
}
{
name = "commands";
prefix = "";
switcher_exclusive = true;
}
{
name = "switcher";
prefix = "/";
}
];
};
};
xdg.configFile."walker/style.css".source = impurity.link ./style.css;
}