From 4c9b75331f8a4cacb6f1b1498c8faac0deadba2d Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Thu, 27 May 2021 12:59:54 +0700 Subject: [PATCH] only dim inactive alacritty windows --- users/rin/picom.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/rin/picom.nix b/users/rin/picom.nix index f6d29f8..79d494e 100644 --- a/users/rin/picom.nix +++ b/users/rin/picom.nix @@ -11,7 +11,9 @@ fadeDelta = 5; fadeSteps = [ "0.05" "0.05" ]; - inactiveOpacity = "0.8"; + opacityRule = [ + "80:class_g = 'Alacritty' && !focused" + ]; vSync = true; extraOptions = ''