From 18425fd98eae360ab4af07abe724658875e732ec Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 15 Feb 2019 22:27:32 +0100 Subject: Add custom script for cycling workspaces in touchegg --- gui/touchegg.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'gui/touchegg.nix') diff --git a/gui/touchegg.nix b/gui/touchegg.nix index 1455da8..fee4344 100644 --- a/gui/touchegg.nix +++ b/gui/touchegg.nix @@ -1,7 +1,23 @@ { pkgs, ... }: { - home.file.".config/touchegg/touchegg.conf".source = ./conf/touchegg.conf; + home.file.".config/touchegg/touchegg.conf".lines = let + uictrl = pkgs.lib.callPackageWith pkgs ./pkgs/uictrl.nix { }; + in '' + + + + ${uictrl}/bin/uictrl prev + + + ${uictrl}/bin/uictrl next + + + BUTTON=3 + + + + ''; systemd.user.services.touchegg = { Unit = { -- cgit v1.2.3