2022-02-16 17:09:46 +01:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.fusuma = {
|
|
|
|
enable = true;
|
2022-03-13 23:23:19 +01:00
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@fusuma@"; };
|
2022-02-16 17:09:46 +01:00
|
|
|
extraPackages = [ (config.lib.test.mkStubPackage { }) ];
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
threshold = { swipe = 1; };
|
|
|
|
interval = { swipe = 7; };
|
|
|
|
swipe = {
|
|
|
|
"3" = { left = { command = "xdotool key ctrl+alt+Right"; }; };
|
|
|
|
"4" = { left = { command = "xdotool key ctrl+shift+alt+Right"; }; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/fusuma/config.yaml \
|
|
|
|
${./expected-settings.yaml}
|
|
|
|
'';
|
|
|
|
}
|