nixos/home/hyprland/rofi/default.nix
Evie Litherland-Smith efa0909c15 Switch to alacritty
Replace wezterm as it was setting extra shell variables that messed up
emacs internal terminal.

Add config to alacritty
2023-08-07 09:19:09 +01:00

34 lines
1,015 B
Nix

{ pkgs, config, ... }:
let icon-theme = config.gtk.iconTheme.name;
in
{
imports = [ ../gtk.nix ];
home.packages = with pkgs; [ rofi-power-menu ];
programs.rofi = {
enable = true;
location = "center";
pass.enable = true;
terminal = "${pkgs.alacritty}/bin/alacritty";
plugins = with pkgs; [ rofi-file-browser ];
extraConfig = {
modi =
"run,drun,ssh,file-browser-extended,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-ssh = " 󰢹 SSH ";
display-file-browser-extended = " 󰝰 File Browser ";
display-power-menu = " 󰩈 Power Menu ";
};
theme = ./theme.rasi;
};
}