configuration.nix/home/wm/addon/rofi/default.nix

26 lines
487 B
Nix
Raw Normal View History

2023-03-29 21:48:55 +05:30
{ pkgs, ... }: {
2023-03-15 22:11:59 +05:30
programs.rofi = {
enable = true;
cycle = false;
package = pkgs.rofi-wayland;
font = "FiraCode Nerd Font 16";
extraConfig = {
show-icons = true;
};
theme = ./theme.rasi;
};
2023-04-07 21:01:48 +05:30
xdg.desktopEntries = {
"rofi" = {
name = "Rofi";
exec = "rofi -show";
noDisplay = true;
};
"rofi-theme-selector" = {
name = "Rofi Theme Selector";
exec = "rofi-theme-selector";
noDisplay = true;
};
};
2023-03-15 22:11:59 +05:30
}