From b32a775ce1835b4a3910c36b088f75c62d480e58 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 8 Dec 2025 20:40:41 +0000 Subject: Add cshader vfor bg --- config/picom/picom.conf | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'config/picom/picom.conf') 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 -- cgit v1.2.3