21 lines
525 B
Nix
Raw Normal View History

2020-08-10 01:17:22 +04:00
{ pkgs, config, lib, ... }:
let
thm = config.lib.base16.theme;
themeFile = config.lib.base16.templateFile { name = "rofi"; };
in
{
2021-06-16 05:30:04 +03:00
defaultApplications.dmenu = {
2022-01-29 00:41:41 +03:00
cmd = "${pkgs.rofi-wayland}/bin/rofi -show run";
2021-06-16 05:30:04 +03:00
desktop = "rofi";
};
2020-08-10 01:17:22 +04:00
home-manager.users.alukard = {
programs.rofi = {
enable = true;
2022-01-29 00:41:41 +03:00
package = pkgs.rofi-wayland;
2021-09-16 01:03:52 +03:00
font = "${thm.fonts.mono.family} ${thm.fontSizes.header.str}";
2020-08-10 01:17:22 +04:00
terminal = config.defaultApplications.term.cmd;
theme = "${themeFile}";
};
};
}