Parcourir la source

[picom] Add a picom configuration file

Colin Powell il y a 4 ans
Parent
commit
b2083c03e9
1 fichiers modifiés avec 44 ajouts et 0 suppressions
  1. 44 0
      i3/.config/picom/picom.conf

+ 44 - 0
i3/.config/picom/picom.conf

@@ -0,0 +1,44 @@
+#################################
+#     GLX backend
+#################################
+backend = "xrender";
+vsync = false;
+xrender-sync-fence = "true";
+glx-swap-method = -1;
+
+#################################
+#       Shadows
+#################################
+shadow = false;
+shadow-radius = 5;
+shadow-offset-x = -5;
+shadow-offset-y = -5;
+shadow-opacity = 0.2;
+shadow-ignore-shaped = false;
+
+#################################
+#       Opacity
+#################################
+inactive-opacity = 0.2;
+active-opacity = 1;
+frame-opacity = 0.8;
+inactive-opacity-override = false;
+blur-background = true;
+blur-background-frame = true;
+blur-background-fixed = true;
+blur-background-exclude = [
+    "window_type = 'dock'",
+    "window_type = 'desktop'"
+];
+blur-kern = "3x3box";
+blur-method = "kawase";
+blur-strength = 10;
+opacity-rule = [
+  "90:class_g = 'Alacritty'",
+  "class_g = 'firefox' && argb"
+];
+
+#################################
+#       Fading
+#################################
+fading = true;