add extraSpecialArgs to use flake inputs in home.nix and add anyrun as a launcher

This commit is contained in:
Gabriella Bere 2024-08-23 13:15:06 +01:00
parent 60495f0f31
commit e1d94eefba
4 changed files with 101 additions and 2 deletions

View file

@ -236,5 +236,41 @@
];
};
};
programs.anyrun = {
enable = true;
config = {
plugins = [
# An array of all the plugins you want, which either can be paths to the .so files, or their packages
inputs.anyrun.packages.${pkgs.system}.applications
# ./some_plugin.so
# "${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex"
];
x = { fraction = 0.5; };
y = { fraction = 0.3; };
width = { fraction = 0.3; };
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
};
extraCss = ''
.some_class {
background: red;
}
'';
extraConfigFiles."some-plugin.ron".text = ''
Config(
// for any other plugin
// this file will be put in ~/.config/anyrun/some-plugin.ron
// refer to docs of xdg.configFile for available options
)
'';
};
services.blueman-applet.enable = true;
}