{ pkgs, config, ... }:

{
  programs.rofi = {
    enable = true;
    package = pkgs.rofi-wayland;
    location = "center";
    terminal = "${pkgs.alacritty}/bin/alacritty";
    pass = {
      enable = true;
      extraConfig = ''
        USERNAME_field='login'
        backend=wtype
        clibpoard_backend=wl-clipboard
      '';
    };
    extraConfig = {
      sort = true;
      sorting-method = "fzf";
      matching = "fuzzy";
      show-icons = false;
      disable-history = false;
      hide-scrollbar = true;
    };
  };
}