21 lines
533 B
Nix
Raw Normal View History

2024-02-08 23:21:10 +03:00
{ pkgs, config, ... }:
2020-08-10 01:17:22 +04:00
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";
};
2022-12-10 22:34:39 +03:00
home-manager.users.${config.mainuser} = {
2020-08-10 01:17:22 +04:00
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;
2024-06-18 04:49:58 +03:00
# theme = "${themeFile}";
2020-08-10 01:17:22 +04:00
};
};
}