nixos/home/desktop/rofi.nix

28 lines
702 B
Nix
Raw Normal View History

2023-04-07 09:42:12 +01:00
{ pkgs, ... }:
2023-04-03 16:53:23 +01:00
{
home.packages = with pkgs; [ papirus-icon-theme ];
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 = "\${pkgs.foot}/bin/foot";
2023-04-07 09:42:12 +01:00
plugins = with pkgs; [
rofi-calc
];
extraConfig = {
modi = "run,drun,calc";
icon-theme = "Papirus";
2023-04-07 09:42:12 +01:00
show-icons = true;
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-drun = " Apps ";
display-run = " Run ";
display-window = " Window";
display-calc = " Calculator";
sidebar-mode = true;
};
theme = ./config/rofi/catppuccin-macchiato.rasi;
2023-04-03 16:53:23 +01:00
};
}