blob: 1ddc208e1f5793938978601a352f90250109ca37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ config, lib, pkgs, ... }:
{
options.desktop.popup-manager.rofi = {
enable = lib.mkEnableOption "Enables rofi.";
};
config = lib.mkIf config.desktop.popup-manager.rofi.enable {
desktop.popup-manager.application-launcher.command = "${pkgs.rofi}/bin/rofi -show run";
programs.rofi.enable = true;
programs.rofi.font = "${config.fonts.normal} ${toString config.fonts.size}";
programs.rofi.theme = config.scheme {
template = builtins.readFile ./theme.mustache.rasi;
};
};
}
|