restruct and adding gnome polkit, anyrun

This commit is contained in:
cnst
2024-07-06 14:17:47 +02:00
parent 7531426abe
commit f002bd7240
9 changed files with 122 additions and 5 deletions

View File

@@ -0,0 +1,46 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.anyrun.homeManagerModules.default
];
programs.anyrun = {
enable = true;
config = {
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
# randr
rink
shell
symbols
];
width.fraction = 0.25;
y.fraction = 0.3;
hidePluginInfo = true;
closeOnClick = true;
};
extraCss = builtins.readFile (./. + "/style-dark.css");
extraConfigFiles = {
"applications.ron".text = ''
Config(
desktop_actions: false,
max_entries: 5,
terminal: Some("foot"),
)
'';
"shell.ron".text = ''
Config(
prefix: ">"
)
'';
};
};
}