nixos_config/home/modules/programs/rofi/default.nix
2026-05-22 19:48:24 +02:00

21 lines
398 B
Nix

{ pkgs, ... }:
let
commands = import ../../../../lib/commands.nix { inherit pkgs; };
inherit (commands) term;
in
{
imports = [
./theme.nix
];
programs.rofi = {
enable = true;
package = pkgs.rofi-unwrapped;
terminal = term;
extraConfig = {
"run-command" = "${commands.uwsm} {cmd}";
"run-shell-command" = "${commands.uwsm} ${term} -e {cmd}";
};
};
}