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 \
|
|
|
|
home-files/.config/fusuma/config.yaml \
|
|
|
|
${./expected-settings.yaml}
|
|
|
|
'';
|
|
|
|
}
|