diff --git a/flake.nix b/flake.nix index 3096bc6..967c270 100644 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,10 @@ url = github:nix-community/home-manager/release-21.05; inputs.nixpkgs.follows = "nixpkgs"; }; + picom = { + url = github:jonaburg/picom; + flake = false; + }; }; outputs = inputs@{ self, utils, home-manager, nixpkgs, ...}: diff --git a/modules/picom.nix b/modules/picom.nix index 9b6a110..81bff6b 100644 --- a/modules/picom.nix +++ b/modules/picom.nix @@ -12,6 +12,14 @@ let blur = true; inactiveDim = "0.1"; }; + extraOptions = '' + corner-radius = 10; + rounded-cornes-exclude = [ + "class_g = 'Polybar'", + "class_g = 'Rofi'" + ] + round-borders = 1; + ''; }; in {