aboutsummaryrefslogtreecommitdiffstats
path: root/picom/.config
diff options
context:
space:
mode:
Diffstat (limited to 'picom/.config')
-rw-r--r--picom/.config/picom/picom.conf67
1 files changed, 67 insertions, 0 deletions
diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf
new file mode 100644
index 0000000..5290d9d
--- /dev/null
+++ b/picom/.config/picom/picom.conf
@@ -0,0 +1,67 @@
+# picom.conf - Responsive bounce-style minimize animation with Plank excluded
+
+# General settings
+backend = "xrender";
+vsync = true;
+use-damage = true;
+refresh-rate = 0;
+
+# Shadows (light, for a bit of depth)
+shadow = true;
+shadow-radius = 8;
+shadow-opacity = 0.25;
+shadow-offset-x = -7;
+shadow-offset-y = -7;
+shadow-exclude = [
+ "name = 'Notification'",
+ "class_g = 'Polybar'",
+ "class_g = 'Conky'",
+ "class_g = 'Plank'",
+ "class_g ?= 'Dunst'",
+ "_GTK_FRAME_EXTENTS@:c"
+];
+
+# Fading - snappy transition
+fading = true;
+fade-in-step = 0.08;
+fade-out-step = 0.08;
+fade-delta = 10;
+no-fading-openclose = false;
+
+# Exclude some windows from fading
+fade-exclude = [
+ "class_g = 'i3-frame'",
+ "class_g = 'Conky'",
+ "class_g = 'Plank'",
+ "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
+];
+
+# Transparency
+inactive-opacity = 1.0;
+active-opacity = 1.0;
+frame-opacity = 1.0;
+
+# Bounce animation settings for minimize effect
+animation = false;
+animation-stiffness = 500; # High stiffness for a bouncy effect
+animation-window-movement = true;
+animation-dampening = 10; # Dampening for quick bounce-back effect
+animation-for-minimize = "bounce"; # Sets bounce effect for minimize animation
+
+# Exclude specific windows from animations (like Plank)
+animation-exclude = [
+ "class_g = 'Polybar'",
+ "class_g = 'Conky'",
+ "class_g = 'Plank'",
+ "class_g ?= 'Dunst'"
+];
+
+# Rounded corners for a smooth appearance
+# corner-radius = 8;
+
+# Experimental backends for smoother rendering
+glx-no-stencil = true;
+glx-no-rebind-pixmap = true;
+use-ewmh-active-win = true;
+# detect-rounded-corners = true;
+detect-client-opacity = true;