From 2d32bab6d9082c6c18676517863674bf2ce6089e Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Wed, 20 Mar 2024 19:20:55 -0300 Subject: enable touch gestures, finally --- hosts/hanekawa/configuration.nix | 2 ++ modules/gnome.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/hosts/hanekawa/configuration.nix b/hosts/hanekawa/configuration.nix index ee3d95d..81c56bb 100644 --- a/hosts/hanekawa/configuration.nix +++ b/hosts/hanekawa/configuration.nix @@ -29,6 +29,7 @@ i18n.defaultLocale = "pt_BR.UTF-8"; # Enable the X11 windowing system. + services.touchegg.enable = true; services.xserver = { enable = true; layout = "br"; @@ -37,6 +38,7 @@ enable = true; touchpad = { tapping = true; + scrollMethod = "twofinger"; clickMethod = "clickfinger"; tappingButtonMap = "lrm"; }; diff --git a/modules/gnome.nix b/modules/gnome.nix index aaa0752..08ec21d 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -26,6 +26,7 @@ vitals user-themes blur-my-shell + x11-gestures ]); environment.gnome.excludePackages = (with pkgs; [ -- cgit v1.2.3