Migrate to Snowfall (#1)
Reviewed-on: #1 Co-authored-by: Evan Reichard <evan@reichard.io> Co-committed-by: Evan Reichard <evan@reichard.io>
This commit was merged in pull request #1.
This commit is contained in:
35
modules/home/services/fusuma/default.nix
Normal file
35
modules/home/services/fusuma/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ config, pkgs, lib, namespace, ... }:
|
||||
let
|
||||
cfg = config.${namespace}.services.fusuma;
|
||||
in
|
||||
{
|
||||
options.${namespace}.services.fusuma = {
|
||||
enable = lib.mkEnableOption "Fusuma";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.fusuma = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [ ydotool deterministic-uname uutils-coreutils-noprefix ];
|
||||
settings = {
|
||||
swipe = {
|
||||
"3" = {
|
||||
begin = {
|
||||
command = "ydotool click 40";
|
||||
interval = 0.00;
|
||||
};
|
||||
update = {
|
||||
command = "ydotool mousemove -- $move_x, $move_y";
|
||||
interval = 0.01;
|
||||
accel = 1.00;
|
||||
# accel = 1.70;
|
||||
};
|
||||
end = {
|
||||
command = "ydotool click 80";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user