nix-dotfiles/home_manager/modules/rofi.nix

24 lines
605 B
Nix

{ pkgs, ... }: {
programs.rofi = {
enable = true;
# location = "center";
# font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
# extraConfig = {
# modi = "drun,emoji,run,ssh,window";
# };
# theme = ../configs/rofi/nord.rasi;
};
xdg.configFile."rofi/config.rasi".text = ''
configuration {
font: "${pkgs.rice.font.monospace.name} 12";
location: 0;
yoffset: 0;
xoffset: 0;
modi: "drun,run,ssh,window";
}
@theme "nord"
'';
xdg.configFile."rofi/nord.rasi".source = ../../configs/rofi/nord.rasi;
}