2022-02-16 16:09:46 +00:00
|
|
|
{ config, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.fusuma = {
|
|
|
|
enable = true;
|
2022-03-13 22:23:19 +00:00
|
|
|
package = config.lib.test.mkStubPackage { outPath = "@fusuma@"; };
|
2022-02-16 16:09:46 +00: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 12:25:32 +00:00
|
|
|
home-files/.config/fusuma/config.yml \
|
2022-02-16 16:09:46 +00:00
|
|
|
${./expected-settings.yaml}
|
|
|
|
'';
|
|
|
|
}
|