2022-05-11 19:08:21 +02:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
let
|
|
|
|
theme = pkgs.myThemes.current;
|
|
|
|
rofi = pkgs.rofi.override
|
|
|
|
{
|
|
|
|
plugins = with pkgs;[
|
|
|
|
rofi-power-menu
|
|
|
|
rofi-calc
|
|
|
|
rofi-emoji
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
home-manager.users.adrielus = {
|
|
|
|
home.packages = [ rofi ];
|
2022-05-11 23:11:54 +02:00
|
|
|
home.file.".local/share/rofi/themes/${theme.name}.rasi".text = theme.rofi.theme or "";
|
2022-05-11 19:08:21 +02:00
|
|
|
|
|
|
|
xdg.configFile."rofi/config.rasi".text = ''
|
|
|
|
@import "${./pre.rasi}"
|
2022-05-11 23:11:54 +02:00
|
|
|
${theme.rofi.config or ""}
|
2022-05-11 19:08:21 +02:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|