diff --git a/modules/user/picom.nix b/modules/user/picom.nix index 31bcfd1..af9593e 100644 --- a/modules/user/picom.nix +++ b/modules/user/picom.nix @@ -3,26 +3,26 @@ enable = true; experimentalBackends = true; - blur = true; - blurExclude = [ - (builtins.concatStringsSep " && " [ - "class_g != 'Alacritty'" - "class_g != 'kitty'" - #"class_g != 'Polybar'" - "class_g != 'URxvt'" - ]) - ]; + # blur = true; + # blurExclude = [ + # (builtins.concatStringsSep " && " [ + # "class_g != 'Alacritty'" + # "class_g != 'kitty'" + # #"class_g != 'Polybar'" + # "class_g != 'URxvt'" + # ]) + # ]; fade = true; fadeDelta = 5; - fadeSteps = [ "0.05" "0.05" ]; + fadeSteps = [ 0.05 0.05 ]; - opacityRule = [ + opacityRules = [ "80:class_g = 'Alacritty' && !focused" "95:class_g = 'kitty' && !focused" ]; vSync = true; - extraOptions = '' + settings = { glx-no-stencil = true; glx-copy-from-front = false; glx-no-rebind-pixmap = true; @@ -30,9 +30,6 @@ glx-use-copysubbuffer-mesa = false; use-damage = true; - blur-method = "dual_kawase"; - blur-strength = 15; - detect-transient = true; detect-client-leader = true; detect-client-opacity = true; @@ -40,6 +37,6 @@ use-ewmh-active-win = true; mark-wmwin-focused = true; mark-ovredir-focused = true; - ''; + }; }; }