blob: 51c21394c3dcfb79eb09b56564b51d70eeb29de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ 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";
}));
# TODO: remove this when stylix fixes it upstream
font = lib.mkIf (config ? stylix)
(lib.mkForce "${config.stylix.fonts.monospace.name} 12");
plugins = with pkgs; [ rofi-top rofi-calc rofi-emoji ];
};
}
|