nixos/home/hyprland/rofi/default.nix
Evie Litherland-Smith 5e579e3113 Switch back to rofi for drun replacement
Add rofi-pass for interacting with password-store
2023-09-05 15:33:39 +01:00

27 lines
768 B
Nix

{ pkgs, config, ... }:
let icon-theme = config.gtk.iconTheme.name;
in {
home.packages = with pkgs; [ rofi-pass rofi-power-menu ];
programs.rofi = {
enable = true;
location = "center";
pass.enable = true;
extraConfig = {
modi = "run,drun,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
sort = true;
sorting-method = "fzf";
matching = "fuzzy";
icon-theme = icon-theme;
show-icons = true;
application-fallback-icon = "󰣆";
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-run = " 󰅴 Commands ";
display-drun = " 󱓞 Programs ";
display-power-menu = " 󰩈 Power Menu ";
};
theme = ./theme.rasi;
};
}