diff --git a/home-manager/modules/picom/default.nix b/home-manager/modules/picom/default.nix index 7c1152d..660b5ed 100644 --- a/home-manager/modules/picom/default.nix +++ b/home-manager/modules/picom/default.nix @@ -1,13 +1,9 @@ -{ pkgs -, config +{ config , lib , ... }: with lib; let cfg = config.eboskma.programs.picom; - picom = pkgs.writeShellScriptBin "picom" '' - ${pkgs.nixgl.auto.nixGLDefault}/bin/nixGL ${pkgs.picom}/bin/picom $@ - ''; in { options.eboskma.programs.picom = { enable = mkEnableOption "activate picom"; }; @@ -17,18 +13,16 @@ in services.picom = { enable = true; - package = picom; backend = "glx"; vSync = true; - experimentalBackends = true; - fade = true; + fade = false; fadeSteps = [ 0.08 0.08 ]; shadow = true; - inactiveOpacity = 0.8; + inactiveOpacity = 0.9; opacityRules = [ "0:_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'" @@ -53,11 +47,11 @@ in mark-ovredir-focused = true; use-ewmh-active-win = true; blur = { - method = "gaussian"; + method = "dual_kawase"; size = 10; deviation = 5.0; }; - inactive-dim = 0.2; + inactive-dim = 0.1; wintypes = { dock = { shadow = false; };