configuration.nix/home/wm/addon/rofi/default.nix
2023-04-07 21:01:48 +05:30

25 lines
487 B
Nix

{ pkgs, ... }: {
programs.rofi = {
enable = true;
cycle = false;
package = pkgs.rofi-wayland;
font = "FiraCode Nerd Font 16";
extraConfig = {
show-icons = true;
};
theme = ./theme.rasi;
};
xdg.desktopEntries = {
"rofi" = {
name = "Rofi";
exec = "rofi -show";
noDisplay = true;
};
"rofi-theme-selector" = {
name = "Rofi Theme Selector";
exec = "rofi-theme-selector";
noDisplay = true;
};
};
}