2023-02-21 15:27:59 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
|
|
|
|
with config.stylix.fonts;
|
|
|
|
|
|
|
|
let
|
|
|
|
themeFile = config.lib.stylix.colors {
|
|
|
|
templateRepo = pkgs.fetchFromGitHub {
|
|
|
|
owner = "tinted-theming";
|
|
|
|
repo = "base16-rofi";
|
|
|
|
rev = "3f64a9f8d8cb7db796557b516682b255172c4ab4";
|
|
|
|
sha256 = "sha256-RZpjCQ8KGO3cv9A/lNNoTE+WJ9sNk5sz0zJq02zzxA8=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.stylix.targets.rofi.enable =
|
|
|
|
config.lib.stylix.mkEnableTarget "Rofi" true;
|
|
|
|
|
|
|
|
config = lib.mkIf config.stylix.targets.rofi.enable {
|
|
|
|
programs.rofi = {
|
2023-03-19 18:39:32 +00:00
|
|
|
font = "${monospace.name} ${toString sizes.popups}";
|
2023-02-21 15:27:59 +00:00
|
|
|
theme = themeFile;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|