diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-10-04 14:23:09 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-10-04 14:23:09 +0200 |
commit | 81f9914f32f49a2481282b885a52d60bc8043053 (patch) | |
tree | d8055c022e2f14c21367c3cf88061b9f215872ec /stow/picom/.config | |
parent | b18219fd1e6c53ffc3fb9b7b06c22e010d80c12f (diff) | |
download | configs-81f9914f32f49a2481282b885a52d60bc8043053.tar.gz configs-81f9914f32f49a2481282b885a52d60bc8043053.zip |
Updated picom config based on default config file.
Diffstat (limited to 'stow/picom/.config')
-rw-r--r-- | stow/picom/.config/picom/picom.conf | 128 |
1 files changed, 42 insertions, 86 deletions
diff --git a/stow/picom/.config/picom/picom.conf b/stow/picom/.config/picom/picom.conf index 6ba4259..4014cfa 100644 --- a/stow/picom/.config/picom/picom.conf +++ b/stow/picom/.config/picom/picom.conf @@ -12,31 +12,6 @@ size-transition = true ################################# -# Corners # -################################# -# requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom -corner-radius = 0; -rounded-corners-exclude = [ - #"window_type = 'normal'", - "class_g = 'awesome'", - #"class_g = 'URxvt'", - "class_g = 'i3bar'", - "class_g = 'dwm'", - "class_g = 'XTerm'", - "class_g = 'kitty'", - "class_g = 'Alacritty'", - "class_g = 'Polybar'", - "class_g = 'code-oss'", - #"class_g = 'TelegramDesktop'", - "class_g = 'firefox'", - "class_g = 'Thunderbird'" -]; -round-borders = 0; -round-borders-exclude = [ - #"class_g = 'TelegramDesktop'", -]; - -################################# # Shadows # ################################# @@ -54,14 +29,15 @@ shadow-radius = 12; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # shadow-opacity = .75 +shadow-opacity = .90 # The left offset for shadows, in pixels. (defaults to -15) # shadow-offset-x = -15 -shadow-offset-x = -7; +shadow-offset-x = -9; # The top offset for shadows, in pixels. (defaults to -15) # shadow-offset-y = -15 -shadow-offset-y = -7; +shadow-offset-y = -9; # Avoid drawing shadows on dock/panel windows. This option is deprecated, # you should use the *wintypes* option in your config file instead. @@ -132,14 +108,15 @@ 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.02; # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # fade-delta = 10 +fade-delta = 16 # Specify a list of conditions of windows that should not be faded. # don't need this, we disable fading for all normal windows with wintypes: {} @@ -148,7 +125,7 @@ fade-exclude = [ ] # Do not fade on window open/close. -# no-fading-openclose = false +no-fading-openclose = true # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. # no-fading-destroyed-argb = false @@ -158,22 +135,13 @@ fade-exclude = [ # Transparency / Opacity # ################################# + # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 inactive-opacity = 0.8; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 -frame-opacity = 0.7; - -# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) -# menu-opacity = 1.0 -# menu-opacity is depreciated use dropdown-menu and popup-menu instead. - -#If using these 2 below change their values in line 510 & 511 aswell -popup_menu = { opacity = 0.8; } -dropdown_menu = { opacity = 0.8; } - # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # inactive-opacity-override = true @@ -212,6 +180,22 @@ opacity-rule = [ ################################# +# Corners # +################################# + +# Sets the radius of rounded window corners. When > 0, the compositor will +# round the corners of windows. Does not interact well with +# `transparent-clipping`. +corner-radius = 5 + +rounded-corners-exclude = [ + "window_type = 'normal'", + "class_g = 'i3bar'", + "class_g = 'dwm'", + "class_g = 'Polybar'" +]; + +################################# # Background-Blurring # ################################# @@ -221,46 +205,36 @@ opacity-rule = [ # blur-size = 12 # # blur-deviation = false +# +# blur-strength = 5 # Blur background of semi-transparent / ARGB windows. # Bad in performance, with driver-dependent behavior. # The name of the switch may change without prior notifications. # -# blur-background = true; +# blur-background = false # Blur background of windows when the window frame is not opaque. # Implies: # blur-background # Bad in performance, with driver-dependent behavior. The name may change. # -# blur-background-frame = false; +# blur-background-frame = false # Use fixed blur strength rather than adjusting according to window opacity. -# blur-background-fixed = false; +# blur-background-fixed = false # Specify the blur convolution kernel, with the following format: # example: # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; # -# blur-kern = '' -# blur-kern = "3x3box"; - -blur: { - # requires: https://github.com/ibhagwan/picom - #method = "dual_kawase"; - method = "kernel"; - strength = 3; - # deviation = 1.0; - # kernel = "11x11gaussian"; - background = false; - background-frame = false; - background-fixed = false; - kern = "3x3box"; -} +# blur-kern = "" +blur-kern = "3x3box"; # Exclude conditions for background blur. +# blur-background-exclude = [] blur-background-exclude = [ #"window_type = 'dock'", #"window_type = 'desktop'", @@ -284,14 +258,13 @@ blur-background-exclude = [ # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # -experimental-backends = true; -#backend = "glx"; +# experimental-backends = false; +# backend = "glx"; backend = "xrender"; - # Enable/disable VSync. # vsync = false -vsync = true +vsync = true; # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false @@ -318,20 +291,6 @@ detect-rounded-corners = true; # detect-client-opacity = false detect-client-opacity = true; -# Specify refresh rate of the screen. If not specified or 0, picom will -# try detecting this with X RandR extension. -# DEPRECATED -# -# refresh-rate = 60 - -# Limit picom to repaint at most once every 1 / 'refresh_rate' second to -# boost performance. This should not be used with -# vsync drm/opengl/opengl-oml -# as they essentially does sw-opti's job already, -# unless you wish to specify a lower refresh rate than the actual value. -# -# sw-opti = - # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # provided that the WM supports it. @@ -354,14 +313,13 @@ detect-client-opacity = true; # in the same group focused at the same time. # # detect-transient = false -detect-transient = true +detect-transient = true; # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if # detect-transient is enabled, too. # # detect-client-leader = false -detect-client-leader = true # Resize damaged region by a specific number of pixels. # A positive value enlarges it while a negative one shrinks it. @@ -386,7 +344,7 @@ detect-client-leader = true # practically happened) and may not work with blur-background. # My tests show a 15% performance boost. Recommended. # -# glx-no-stencil = false +glx-no-stencil = true; # GLX backend: Avoid rebinding pixmap on window damage. # Probably could improve performance on rapid window content changes, @@ -401,9 +359,7 @@ detect-client-leader = true # The opposing option is use-damage # # no-use-damage = false -#use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened) -#Changing use-damage to false fixes the problem -use-damage = false +use-damage = true; # Use X Sync fence to sync clients' draw calls, to make sure all draw # calls are finished before picom starts drawing. Needed on nvidia-drivers @@ -415,7 +371,7 @@ use-damage = false # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` # in the source tree for examples. # -# glx-fshader-win = '' +# glx-fshader-win = "" # Force all windows to be painted with blending. Useful if you # have a glx-fshader-win that could turn opaque pixels transparent. @@ -446,7 +402,7 @@ use-damage = false # using *--log-file*, since it can generate a huge stream of logs. # # log-level = "debug" -log-level = "info"; +log-level = "warn"; # Set the log file. # If *--log-file* is never specified, logs will be written to stderr. @@ -494,9 +450,9 @@ log-level = "info"; # wintypes: { - normal = { fade = false; shadow = false; } + normal = { fade = true; shadow = true; } tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; - dock = { shadow = false; } + dock = { shadow = false; clip-shadow-above = true; } dnd = { shadow = false; } popup_menu = { opacity = 0.8; } dropdown_menu = { opacity = 0.8; } |