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 \
|
2024-02-23 13:25:32 +01:00
|
|
|
home-files/.config/fusuma/config.yml \
|
2022-02-16 17:09:46 +01:00
|
|
|
${./expected-settings.yaml}
|
|
|
|
'';
|
|
|
|
}
|