diff options
author | rafa_99 <raroma09@gmail.com> | 2022-06-27 00:13:32 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-06-27 00:13:32 +0100 |
commit | 3db93d10c7bf8758207d8d452c75b0b2b1ddbe31 (patch) | |
tree | f73a8f407476d9621a03385da81871231cf2dfff /picom | |
parent | b0faafb2ac93639609bf5257f56eb315fb9a831b (diff) |
Updated suckless and picom configs
Diffstat (limited to 'picom')
-rw-r--r-- | picom/.config/picom/picom.conf | 104 |
1 files changed, 47 insertions, 57 deletions
diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf index 5b27e6b..df05ff5 100644 --- a/picom/.config/picom/picom.conf +++ b/picom/.config/picom/picom.conf @@ -12,7 +12,7 @@ shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 -shadow-radius = 7; +shadow-radius = 10; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # shadow-opacity = .75 @@ -25,16 +25,6 @@ shadow-offset-x = -7; # shadow-offset-y = -15 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). # shadow-red = 0 @@ -44,16 +34,8 @@ shadow-offset-y = -7; # Blue color value of shadow (0.0 - 1.0, defaults to 0). # shadow-blue = 0 -# Do not paint shadows on shaped windows. Note shaped windows -# 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 = '' +# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue) +# shadow-color = "#000000" # Specify a list of conditions of windows that should have no shadow. # @@ -69,6 +51,9 @@ shadow-exclude = [ "_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 # be painted in, such as a dock window region. Use # shadow-exclude-reg = "x10+0+0" @@ -88,7 +73,7 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -fading = true +fading = true; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 @@ -124,10 +109,7 @@ inactive-opacity = 0.8; # 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 - -# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. # inactive-opacity-override = true inactive-opacity-override = false; @@ -137,7 +119,7 @@ inactive-opacity-override = false; # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # inactive-dim = 0.0 -# Specify a list of conditions of windows that should always be considered focused. +# Specify a list of conditions of windows that should never be considered focused. # focus-exclude = [] focus-exclude = [ "class_g = 'Cairo-clock'" ]; @@ -155,6 +137,22 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; ################################# +# 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 = 10; + +# Exclude conditions for rounded corners. +rounded-corners-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; + + +################################# # Background-Blurring # ################################# @@ -164,6 +162,8 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # blur-size = 12 # # blur-deviation = false +# +# blur-strength = 5 # Blur background of semi-transparent / ARGB windows. # Bad in performance, with driver-dependent behavior. @@ -187,7 +187,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # 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 = "" blur-kern = "3x3box"; @@ -209,12 +209,12 @@ 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 -vsync = true +vsync = true; # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false @@ -235,26 +235,12 @@ mark-ovredir-focused = true; # detect-rounded-corners = false detect-rounded-corners = true; -# Detect '_NET_WM_OPACITY' on client windows, useful for window managers -# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. # # 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. -# -# refresh-rate = 60 -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, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # provided that the WM supports it. @@ -277,14 +263,14 @@ refresh-rate = 0 # 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. +# group focused at the same time. This usually means windows from the same application +# will be considered focused or unfocused 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. @@ -324,7 +310,7 @@ detect-client-leader = true # The opposing option is use-damage # # no-use-damage = false -use-damage = true +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 @@ -336,7 +322,7 @@ use-damage = true # 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. @@ -375,13 +361,13 @@ log-level = "warn"; # logs might still be written to the stderr. # 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-xerrors = false # 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 # @@ -407,6 +393,10 @@ log-level = "warn"; # normally won't be able to see. Useful when the window has parts of it # 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::: # Controls whether this type of windows should cause screen to become # redirected again after been unredirected. If you have unredir-if-possible @@ -416,8 +406,8 @@ log-level = "warn"; wintypes: { 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 = false; } - dropdown_menu = { opacity = false; } + popup_menu = { opacity = 0.8; } + dropdown_menu = { opacity = 0.8; } }; |