From 02adc98ce764eacdbd6ac2f2d20aaf893349868c Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 29 Jan 2019 20:27:38 +0100 Subject: Add basic touchegg setup for athena --- gui/touchegg.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gui/touchegg.nix (limited to 'gui/touchegg.nix') diff --git a/gui/touchegg.nix b/gui/touchegg.nix new file mode 100644 index 0000000..9b74195 --- /dev/null +++ b/gui/touchegg.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: + +{ + home.packages = [ pkgs.touchegg ]; + + 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"; + }; + }; +} -- cgit v1.2.3 From f63e869f37172460595f8379c49230ff061a5c55 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 29 Jan 2019 20:30:33 +0100 Subject: Remove unnecessary package exposure --- gui/touchegg.nix | 2 -- 1 file changed, 2 deletions(-) (limited to 'gui/touchegg.nix') diff --git a/gui/touchegg.nix b/gui/touchegg.nix index 9b74195..1455da8 100644 --- a/gui/touchegg.nix +++ b/gui/touchegg.nix @@ -1,8 +1,6 @@ { pkgs, ... }: { - home.packages = [ pkgs.touchegg ]; - home.file.".config/touchegg/touchegg.conf".source = ./conf/touchegg.conf; systemd.user.services.touchegg = { -- cgit v1.2.3