os/modules/graphical/sway/libinput-gestures.service.nix
teutat3s 9da43e427e
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
wip: migrate to flake-parts
2024-01-06 10:46:10 +01:00

19 lines
495 B
Nix

{pkgs, ...}: {
Unit = {
Description = "Actions gestures on your touchpad using libinput";
Documentation = ["https://github.com/bulletmark/libinput-gestures"];
BindsTo = ["sway-session.target"];
After = ["sway-session.target"];
};
Service = {
Type = "simple";
ExecStart = "${pkgs.libinput-gestures}/bin/libinput-gestures";
Restart = "on-failure";
RestartSec = "1";
TimeoutStopSec = "10";
};
Install = {
WantedBy = ["sway-session.target"];
};
}