2024-01-30 14:21:50 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-01-28 12:01:18 +00:00
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.rofi-wayland;
|
|
|
|
location = "center";
|
|
|
|
terminal = "foot";
|
|
|
|
pass = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.rofi-pass-wayland;
|
|
|
|
extraConfig = ''
|
|
|
|
USERNAME_field='login'
|
|
|
|
'';
|
|
|
|
};
|
2024-01-30 14:21:50 +00:00
|
|
|
extraConfig = let
|
|
|
|
power-menu = "power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
|
|
|
|
in {
|
|
|
|
modi = "window,run,drun,ssh,${power-menu},combi";
|
|
|
|
combi-modi = "window,drun,ssh";
|
|
|
|
sidebar-mode = true;
|
|
|
|
sort = true;
|
|
|
|
sorting-method = "fzf";
|
|
|
|
matching = "fuzzy";
|
|
|
|
icon-theme = config.gtk.iconTheme.name;
|
|
|
|
show-icons = true;
|
|
|
|
application-fallback-icon = " ";
|
|
|
|
drun-display-format = "{icon} {name} ({categories})";
|
|
|
|
disable-history = false;
|
|
|
|
hide-scrollbar = true;
|
|
|
|
display-window = " Move ";
|
|
|
|
display-run = " Run ";
|
|
|
|
display-drun = " Apps ";
|
|
|
|
display-ssh = " SSH ";
|
|
|
|
display-combi = " Combi ";
|
|
|
|
display-power-menu = " Power ";
|
|
|
|
};
|
2024-01-28 12:01:18 +00:00
|
|
|
};
|
|
|
|
}
|