aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/original/picom.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/i3wm/original/picom.nix')
-rw-r--r--modules/home/i3wm/original/picom.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/home/i3wm/original/picom.nix b/modules/home/i3wm/original/picom.nix
new file mode 100644
index 0000000..84b49a7
--- /dev/null
+++ b/modules/home/i3wm/original/picom.nix
@@ -0,0 +1,25 @@
+{ config, pkgs, lib, ... }:
+
+{
+ services.picom = {
+ enable = true;
+ backend = "glx";
+ vSync = true;
+ inactiveOpacity = 0.9;
+ activeOpacity = 1.0;
+ fade = true;
+ fadeSteps = [ 0.09 0.09 ];
+ fadeDelta = 5;
+ shadow = true;
+ shadowOffsets = [ 12 12 ];
+ shadowOpacity = 0.5;
+ shadowExclude = [
+ "class_g = 'Polybar'"
+ "name = 'Polybar'"
+ ];
+ settings = {
+ corner-radius = 15;
+ };
+ };
+ };
+} \ No newline at end of file