nixos/home/desktop/rofi.nix

31 lines
960 B
Nix

{pkgs, ...}: let
powermenu = pkgs.writeShellScriptBin "powermenu" (builtins.readFile ./scripts/powermenu);
power-profiles = pkgs.writeShellScriptBin "power-profiles" (builtins.readFile ./scripts/power-profiles);
in {
imports = [../gui/foot.nix];
home.packages = with pkgs; [papirus-icon-theme powermenu power-profiles];
programs.rofi = {
enable = true;
location = "center";
pass.enable = true;
terminal = "\${pkgs.foot}/bin/foot";
plugins = with pkgs; [
rofi-calc
];
extraConfig = {
modi = "run,drun,calc";
icon-theme = "Papirus";
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;
};
}