50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.anyrun = {
|
|
enable = true;
|
|
config = {
|
|
x = { fraction = 0.5; };
|
|
y = { fraction = 0.3; };
|
|
width = { fraction = 0.3; };
|
|
hideIcons = true;
|
|
ignoreExclusiveZones = false;
|
|
layer = "overlay";
|
|
hidePluginInfo = false;
|
|
closeOnClick = true;
|
|
showResultsImmediately = false;
|
|
maxEntries = null;
|
|
|
|
plugins = [
|
|
"${pkgs.anyrun}/lib/libapplications.so"
|
|
"${pkgs.anyrun}/lib/libsymbols.so"
|
|
"${pkgs.anyrun}/lib/libshell.so"
|
|
"${pkgs.anyrun}/lib/libniri_focus.so"
|
|
"${pkgs.anyrun}/lib/librink.so"
|
|
];
|
|
};
|
|
|
|
extraCss = /*css */ ''
|
|
* {
|
|
all: unset;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
#window,
|
|
#match,
|
|
#entry,
|
|
#plugin,
|
|
#main {
|
|
background: transparent;
|
|
}
|
|
'';
|
|
|
|
# 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
|
|
# )
|
|
# '';
|
|
};
|
|
}
|