2023-07-18 09:15:40 +01:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2023-06-20 15:26:07 +01:00
|
|
|
icon-theme = config.gtk.iconTheme.name;
|
2023-05-17 17:10:18 +01:00
|
|
|
in {
|
2023-07-11 09:31:51 +01:00
|
|
|
imports = [../gtk.nix];
|
2023-07-18 09:15:40 +01:00
|
|
|
home.packages = [pkgs.rofi-power-menu];
|
2023-04-03 16:53:23 +01:00
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
2023-07-18 09:26:10 +01:00
|
|
|
location = "center";
|
2023-04-03 16:53:23 +01:00
|
|
|
pass.enable = true;
|
2023-07-18 09:15:40 +01:00
|
|
|
terminal = "${pkgs.wezterm}/bin/wezterm";
|
|
|
|
plugins = with pkgs; [
|
|
|
|
rofi-file-browser
|
|
|
|
rofi-top
|
|
|
|
];
|
2023-04-07 09:42:12 +01:00
|
|
|
extraConfig = {
|
2023-07-18 09:15:40 +01:00
|
|
|
modi = "run,drun,ssh,top,file-browser-extended,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
|
2023-06-20 15:26:07 +01:00
|
|
|
icon-theme = icon-theme;
|
2023-04-07 09:42:12 +01:00
|
|
|
show-icons = true;
|
|
|
|
drun-display-format = "{icon} {name}";
|
|
|
|
disable-history = false;
|
|
|
|
hide-scrollbar = true;
|
2023-07-18 09:15:40 +01:00
|
|
|
display-run = " Commands ";
|
|
|
|
display-drun = " Programs ";
|
|
|
|
display-ssh = " SSH ";
|
|
|
|
display-top = " Top ";
|
|
|
|
display-file-browser-extended = " File Browser ";
|
|
|
|
display-power-menu = " Power Menu ";
|
2023-04-07 09:42:12 +01:00
|
|
|
};
|
2023-07-11 09:11:48 +01:00
|
|
|
theme = ./catppuccin-macchiato.rasi;
|
2023-04-03 16:53:23 +01:00
|
|
|
};
|
|
|
|
}
|