24 lines
489 B
Nix
24 lines
489 B
Nix
{ 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 ];
|
|
home.file.".local/share/rofi/themes/${theme.name}.rasi".text = builtins.readFile theme.rofi.theme;
|
|
|
|
xdg.configFile."rofi/config.rasi".text = ''
|
|
@import "${./pre.rasi}"
|
|
${theme.rofi.config}
|
|
'';
|
|
};
|
|
}
|