nixos/home/desktop/rofi.nix

32 lines
1 KiB
Nix

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