2021-01-23 16:30:34 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
|
|
|
font = "Droid Sans Mono 14";
|
|
|
|
terminal = "/some/path";
|
|
|
|
cycle = false;
|
|
|
|
window = {
|
|
|
|
background = "background";
|
|
|
|
border = "border";
|
|
|
|
separator = "separator";
|
|
|
|
};
|
|
|
|
extraConfig = {
|
|
|
|
modi = "drun,emoji,ssh";
|
|
|
|
kb-primary-paste = "Control+V,Shift+Insert";
|
|
|
|
kb-secondary-paste = "Control+v,Insert";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
test.stubs.rofi = { };
|
2021-01-23 18:13:38 +01:00
|
|
|
|
2021-01-23 16:30:34 +01:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/rofi/config.rasi \
|
|
|
|
${./valid-config-expected.rasi}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|