aboutsummaryrefslogtreecommitdiff
path: root/gui/touchegg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'gui/touchegg.nix')
-rw-r--r--gui/touchegg.nix38
1 files changed, 0 insertions, 38 deletions
diff --git a/gui/touchegg.nix b/gui/touchegg.nix
deleted file mode 100644
index 8e5cb6b..0000000
--- a/gui/touchegg.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ pkgs, ... }:
-
-{
- home.file.".config/touchegg/touchegg.conf".text = let
- uictrl = pkgs.lib.callPackageWith pkgs ./pkgs/uictrl.nix { };
- in ''
- <touchégg>
- <application name="All">
- <gesture type="DRAG" fingers="3" direction="LEFT">
- <action type="RUN_COMMAND">${uictrl}/bin/uictrl next</action>
- </gesture>
- <gesture type="DRAG" fingers="3" direction="RIGHT">
- <action type="RUN_COMMAND">${uictrl}/bin/uictrl prev</action>
- </gesture>
- <gesture type="TAP" fingers="2">
- <action type="MOUSE_CLICK">BUTTON=3</action>
- </gesture>
- </application>
- </touchégg>
- '';
-
- 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";
- };
- };
-}