summaryrefslogtreecommitdiff
path: root/config/picom/picom.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/picom/picom.conf')
-rw-r--r--config/picom/picom.conf19
1 files changed, 13 insertions, 6 deletions
diff --git a/config/picom/picom.conf b/config/picom/picom.conf
index d30d4eb..fbe89c1 100644
--- a/config/picom/picom.conf
+++ b/config/picom/picom.conf
@@ -55,10 +55,10 @@ shadow-offset-y = -7;
fading = true;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
-fade-in-step = 0.01;
+fade-in-step = 0.012;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
-fade-out-step = 0.01;
+fade-out-step = 0.012;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
fade-delta = 2
@@ -94,7 +94,7 @@ frame-opacity = 0.7;
# `transparent-clipping`.
#
# Default: 0 (disabled)
-corner-radius = 0
+corner-radius = 5
#################################
# Blur #
@@ -229,7 +229,7 @@ use-damage = false;
#
# Can be set per-window using rules.
#
-window-shader-fg = "~/.config/picom/shaders/glitch_animation.glsl"
+#window-shader-fg = "~/.config/picom/shaders/glitch_animation.glsl"
# Force all windows to be painted with blending. Useful if you
# have a `window-shader-fg` that could turn opaque pixels transparent.
@@ -295,7 +295,6 @@ rules: ({
blur-background = false;
}, {
match = "window_type != 'dock'";
- # shader = "my_shader.frag";
}, {
match = "window_type = 'dock' || "
"window_type = 'desktop'";
@@ -307,7 +306,15 @@ rules: ({
"class_g = 'Cairo-clock' || "
"_GTK_FRAME_EXTENTS@";
shadow = false;
-})
+},
+{
+ match = "window_type = 'desktop'";
+ shader = "/home/x/.config/picom/shaders/glitch.glsl";
+},
+{
+ match = "window_type != 'desktop'";
+ shader = "/home/x/.config/picom/shaders/glitch_animation.glsl";
+});
# `@include` directive can be used to include additional configuration files.
# Relative paths are search either in the parent of this configuration file