nixos/home/desktop/rofi/default.nix

22 lines
497 B
Nix
Raw Normal View History

{config, ...}: let
icon-theme = config.gtk.iconTheme.name;
2023-05-17 17:10:18 +01:00
in {
imports = [../gtk.nix];
2023-04-03 16:53:23 +01:00
programs.rofi = {
enable = true;
2023-04-07 09:42:12 +01:00
location = "center";
2023-04-03 16:53:23 +01:00
pass.enable = true;
terminal = "wezterm";
2023-04-07 09:42:12 +01:00
extraConfig = {
modi = "drun";
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;
display-run = " Run ";
};
theme = ./catppuccin-macchiato.rasi;
2023-04-03 16:53:23 +01:00
};
}