From ac7159874861ec4ac7fd6ecb38e02ac542c5ce72 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 29 Oct 2023 14:51:04 +0530 Subject: added fade in/out --- .config/picom.conf | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to '.config/picom.conf') diff --git a/.config/picom.conf b/.config/picom.conf index 559cb51..c629b1c 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -8,7 +8,7 @@ # unless explicitly requested using the wintypes option. # # shadow = false -shadow = true; +shadow = false; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 @@ -70,6 +70,8 @@ shadow-exclude = [ "class_g = 'Alacritty'", "class_g = 'Emacs'", "class_g = 'Pcmanfm'", + "class_g ?= 'Alacritty'", + "class_g ?= 'Polybar'", "_GTK_FRAME_EXTENTS@:c" ]; @@ -92,15 +94,15 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -fading = false +fading = true # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 -fade-in-step = 0.03; +fade-in-step = 0.08; # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # fade-out-step = 0.03 -fade-out-step = 0.03; +fade-out-step = 0.1; # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # fade-delta = 10 @@ -164,7 +166,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; blur: { method = "dual_kawase"; - strength = 4; + strength = 3; } # Parameters for background blurring, see the *BLUR* section for more information. @@ -217,8 +219,8 @@ blur-background-exclude = [ # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # +#backend = "glx"; backend = "glx"; -# backend = "xrender"; # Enable/disable VSync. # vsync = false @@ -421,14 +423,11 @@ log-level = "warn"; # set, and doesn't want certain window to cause unnecessary screen redirection, # you can set this to `true`. # -wintypes: -{ - tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; - dock = { shadow = false; } - dnd = { shadow = false; } - popup_menu = { opacity = 1; shadow = false; } - dropdown_menu = { opacity = 1; shadow = false; } -}; - -opacity-rule = [ -]; +#wintypes: +#{ +# tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; +# dock = { shadow = false; } +# dnd = { shadow = false; } +# popup_menu = { opacity = 1; shadow = false; } +# dropdown_menu = { opacity = 1; shadow = false; } +#}; -- cgit v1.2.3