aboutsummaryrefslogtreecommitdiff
path: root/gui/touchegg.nix
blob: 1455da89803e700f8cddf903eeace59e186ef9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs, ... }:

{
  home.file.".config/touchegg/touchegg.conf".source = ./conf/touchegg.conf;

  systemd.user.services.touchegg = {
    Unit = {
      Description = "Touchégg multitouch gestures";
      After = [ "graphical-session-pre.target" ];
      PartOf = [ "graphical-session.target" ];
    };

    Install = {
      WantedBy = [ "graphical-session.target" ];
    };

    Service = {
      ExecStart = "${pkgs.touchegg}/bin/touchegg";
      Restart = "on-failure";
    };
  };
}