From 02fed5f29bedecfe7cf08cf5c726d4f57751b288 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 10 Jan 2024 03:36:50 +0800 Subject: [PATCH] home: {firefox,librewolf}: use xinput2 --- .../guanranwang/home-manager/applications/firefox/default.nix | 4 ++++ .../home-manager/applications/librewolf/default.nix | 4 ++++ users/guanranwang/home-manager/applications/picom/default.nix | 3 +++ 3 files changed, 11 insertions(+) diff --git a/users/guanranwang/home-manager/applications/firefox/default.nix b/users/guanranwang/home-manager/applications/firefox/default.nix index 4891915..c741b27 100644 --- a/users/guanranwang/home-manager/applications/firefox/default.nix +++ b/users/guanranwang/home-manager/applications/firefox/default.nix @@ -60,4 +60,8 @@ in { # # TODO # profiles."default" = {}; #}; + + home.sessionVariables = { + MOZ_USE_XINPUT2 = "1"; + }; } diff --git a/users/guanranwang/home-manager/applications/librewolf/default.nix b/users/guanranwang/home-manager/applications/librewolf/default.nix index d562443..3913b22 100644 --- a/users/guanranwang/home-manager/applications/librewolf/default.nix +++ b/users/guanranwang/home-manager/applications/librewolf/default.nix @@ -80,4 +80,8 @@ in { "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; }; }; + + home.sessionVariables = { + MOZ_USE_XINPUT2 = "1"; + }; } diff --git a/users/guanranwang/home-manager/applications/picom/default.nix b/users/guanranwang/home-manager/applications/picom/default.nix index eff158a..1241370 100644 --- a/users/guanranwang/home-manager/applications/picom/default.nix +++ b/users/guanranwang/home-manager/applications/picom/default.nix @@ -20,6 +20,9 @@ # Blur blur-method = "dual_kawase"; blur-strength = 10; + blur-background-exclude = [ + "_GTK_FRAME_EXTENTS@:c" + ]; # Corners corner-radius = 12;