-
Notifications
You must be signed in to change notification settings - Fork 0
/
anyrun.nix
45 lines (41 loc) · 909 Bytes
/
anyrun.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
anyrun,
pkgs,
...
}: {
imports = [anyrun.homeManagerModules.default];
programs.anyrun = {
enable = true;
config = {
plugins = [anyrun.packages.${pkgs.system}.applications];
x = {fraction = 0.922;};
width = {absolute = 400;};
hidePluginInfo = true;
closeOnClick = false;
};
extraCss = ''
#window {
background-color: rgba(0, 0, 0, 0);
font-size: 16px;
}
list#plugin {
background-color: rgba(0, 0, 0, 0);
}
entry {
background-color: rgba(0, 0, 0, 0.749);
border: none;
border-radius: 0;
}
list#main {
background-color: rgba(0, 0, 0, 0.749);
}
'';
extraConfigFiles."applications.ron".text = ''
Config(
desktop_actions: false,
max_entries: 19,
terminal: Some("alacritty"),
)
'';
};
}