22 lines
398 B
Nix
22 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}";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|