{ config, pkgs, lib, system, user, allowed, secrets, ... }: { home.packages = [ pkgs.libinput-gestures pkgs.ydotool ]; home.file.".config/libinput/gestures".text = '' # Swipe threshold (0-100) swipe_threshold 0 # Gestures gesture swipe left 3 echo key k:276 | dotool gesture swipe right 3 echo key k:275 | dotool ''; # systemd.user.services = { # ydotoold = { # Unit = { # Description = "An auto-input utility for wayland"; # Documentation = [ "man:ydotool(1)" "man:ydotoold(8)" ]; # }; # Service = { # ExecStart = "/run/current-system/sw/bin/ydotoold --socket-path /tmp/ydotool_socket "; # }; # Install = { # WantedBy = ["default.target"]; # }; # }; # }; }