feat: updated picom.conf to match current version's template

This commit is contained in:
AngeD 2021-12-23 22:21:06 +01:00
parent e2b5fadbea
commit 08f10df67b

View File

@ -25,6 +25,16 @@ shadow-offset-x = -7;
# shadow-offset-y = -15 # shadow-offset-y = -15
shadow-offset-y = -7; shadow-offset-y = -7;
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dock-shadow = false
# Don't draw shadows on drag-and-drop windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.
#
# no-dnd-shadow = false
# Red color value of shadow (0.0 - 1.0, defaults to 0). # Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0 # shadow-red = 0
@ -34,8 +44,16 @@ shadow-offset-y = -7;
# Blue color value of shadow (0.0 - 1.0, defaults to 0). # Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0 # shadow-blue = 0
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue) # Do not paint shadows on shaped windows. Note shaped windows
# shadow-color = "#000000" # here means windows setting its shape through X Shape extension.
# Those using ARGB background is beyond our control.
# Deprecated, use
# shadow-exclude = 'bounding_shaped'
# or
# shadow-exclude = 'bounding_shaped && !rounded_corners'
# instead.
#
# shadow-ignore-shaped = ''
# Specify a list of conditions of windows that should have no shadow. # Specify a list of conditions of windows that should have no shadow.
# #
@ -51,9 +69,6 @@ shadow-exclude = [
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
# clip-shadow-above = []
# Specify a X geometry that describes the region in which shadow should not # Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use # be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0" # shadow-exclude-reg = "x10+0+0"
@ -73,7 +88,7 @@ shadow-exclude = [
# Fade windows in/out when opening/closing and when opacity changes, # Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used. # unless no-fading-openclose is used.
# fading = false # fading = false
fading = true; fading = true
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028 # fade-in-step = 0.028
@ -106,6 +121,9 @@ fade-in-step = 0.03;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 # frame-opacity = 1.0
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true # inactive-opacity-override = true
inactive-opacity-override = false; inactive-opacity-override = false;
@ -116,7 +134,7 @@ inactive-opacity-override = false;
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0 # inactive-dim = 0.0
# Specify a list of conditions of windows that should never be considered focused. # Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = [] # focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ]; focus-exclude = [ "class_g = 'Cairo-clock'" ];
@ -133,22 +151,6 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# opacity-rule = [] # 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 = 12
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
################################# #################################
# Background-Blurring # # Background-Blurring #
################################# #################################
@ -159,8 +161,6 @@ rounded-corners-exclude = [
# blur-size = 12 # blur-size = 12
# #
# blur-deviation = false # blur-deviation = false
#
# blur-strength = 5
# Blur background of semi-transparent / ARGB windows. # Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior. # Bad in performance, with driver-dependent behavior.
@ -184,7 +184,7 @@ rounded-corners-exclude = [
# example: # 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 = "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 = ''
blur-kern = "3x3box"; blur-kern = "3x3box";
@ -206,12 +206,12 @@ blur-background-exclude = [
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one. # `xrender` is the default one.
# #
# backend = "glx" # backend = 'glx'
backend = "xrender"; backend = "xrender";
# Enable/disable VSync. # Enable/disable VSync.
# vsync = false # vsync = false
vsync = true; vsync = true
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false # dbus = false
@ -242,7 +242,15 @@ detect-client-opacity = true;
# try detecting this with X RandR extension. # try detecting this with X RandR extension.
# #
# refresh-rate = 60 # refresh-rate = 60
refresh-rate = 0; refresh-rate = 0
# 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, # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
@ -266,14 +274,14 @@ refresh-rate = 0;
# in the same group focused at the same time. # in the same group focused at the same time.
# #
# detect-transient = false # detect-transient = false
detect-transient = true; detect-transient = true
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same # 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 # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if
# detect-transient is enabled, too. # detect-transient is enabled, too.
# #
# detect-client-leader = false # detect-client-leader = false
detect-client-leader = true; detect-client-leader = true
# Resize damaged region by a specific number of pixels. # Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it. # A positive value enlarges it while a negative one shrinks it.
@ -313,7 +321,7 @@ detect-client-leader = true;
# The opposing option is use-damage # The opposing option is use-damage
# #
# no-use-damage = false # no-use-damage = false
use-damage = true; use-damage = true
# Use X Sync fence to sync clients' draw calls, to make sure all draw # 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 # calls are finished before picom starts drawing. Needed on nvidia-drivers
@ -325,7 +333,7 @@ use-damage = true;
# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl`
# in the source tree for examples. # in the source tree for examples.
# #
# glx-fshader-win = "" # glx-fshader-win = ''
# Force all windows to be painted with blending. Useful if you # Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent. # have a glx-fshader-win that could turn opaque pixels transparent.
@ -364,13 +372,13 @@ log-level = "warn";
# logs might still be written to the stderr. # logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path. # When setting this option from the config file, it is recommended to use an absolute path.
# #
# log-file = "/path/to/your/log/file" # log-file = '/path/to/your/log/file'
# Show all X errors (for debugging) # Show all X errors (for debugging)
# show-all-xerrors = false # show-all-xerrors = false
# Write process ID to a file. # Write process ID to a file.
# write-pid-path = "/path/to/your/log/file" # write-pid-path = '/path/to/your/log/file'
# Window type settings # Window type settings
# #
@ -396,10 +404,6 @@ log-level = "warn";
# normally won't be able to see. Useful when the window has parts of it # normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas. # transparent, and you want shadows in those areas.
# #
# clip-shadow-above:::
# Controls wether shadows that would have been drawn above the window should
# be clipped. Useful for dock windows that should have no shadow painted on top.
#
# redir-ignore::: # redir-ignore:::
# Controls whether this type of windows should cause screen to become # Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible # redirected again after been unredirected. If you have unredir-if-possible
@ -409,7 +413,7 @@ log-level = "warn";
wintypes: wintypes:
{ {
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; } dock = { shadow = false; }
dnd = { shadow = false; } dnd = { shadow = false; }
popup_menu = { opacity = 1.0; } popup_menu = { opacity = 1.0; }
dropdown_menu = { opacity = 1.0; } dropdown_menu = { opacity = 1.0; }