summaryrefslogtreecommitdiff
path: root/modules/home-manager/personal/programs/rofi.nix
blob: 414cf62476091f1f8a0b9e78681807171cae0bf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ 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 ];
  };
}