pointers & 3 drag

This commit is contained in:
2025-04-06 20:04:13 -04:00
parent 7705f24e0f
commit 4717886bcc
7 changed files with 86 additions and 21 deletions

View File

@@ -163,10 +163,11 @@ input {
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
scroll_factor = 0.2
disable_while_typing = true
scroll_factor = 0.2
disable_while_typing = true
natural_scroll = true
clickfinger_behavior = true
tap-to-click = false
}
}

View 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";
};
};
};
};
};
};
}