diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-29 14:51:04 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-29 14:51:04 +0530 |
commit | ac7159874861ec4ac7fd6ecb38e02ac542c5ce72 (patch) | |
tree | 1ccdec907b24e87241a3723753a72cc5c495653e /.config | |
parent | de40e0c48892bc2a5a9dcee3cd041e9186f61af2 (diff) |
added fade in/out
Diffstat (limited to '.config')
-rw-r--r-- | .config/picom.conf | 33 |
1 files changed, 16 insertions, 17 deletions
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; } +#}; |