blob: 10c284caffafb3e89b45acfb6839f2ff4066e3a8 (
plain)
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
|
{
config,
lib,
pkgs,
...
}:
{
programs.rofi = {
cycle = lib.mkDefault true;
theme = lib.mkIf (config.lib ? stylix) (
lib.mkForce (
config.lib.stylix.colors {
template = builtins.readFile config.personal.home.dotfiles.rofi;
extension = ".rasi";
}
)
);
plugins = with pkgs; [
rofi-top
rofi-calc
rofi-emoji
];
};
xdg.dataFile."rofi/themes/custom.rasi" = lib.mkForce {
source = config.programs.rofi.theme;
text = null;
};
}
|