blur background with picom

This commit is contained in:
davidovski 2024-04-04 19:00:33 +01:00
parent 22e5df29f2
commit 729fd14c6b
1 changed files with 17 additions and 18 deletions

View File

@ -2,7 +2,7 @@
# Corners #
#################################
# requires: https://github.com/sdhand/compton
corner-radius = 6;
corner-radius = 4;
round-borders = 0;
# Specify a list of border width rules, in the format `PIXELS:PATTERN`,
@ -29,24 +29,24 @@ shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 50;
shadow-radius = 20;
# The opacity of shadows. (1.0 - 1.0, defaults to 0.75)
shadow-opacity = 1.0;
shadow-opacity = 0.7;
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -50;
shadow-offset-x = -20;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -50;
shadow-offset-y = -20;
# 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 = true
no-dock-shadow = false
#no-dock-shadow = false
# Red color value of shadow (0.0 - 1.0, defaults to 0).
#shadow-red = 0.86328125
@ -75,7 +75,7 @@ no-dock-shadow = false
#
# shadow-exclude = []
shadow-exclude = [
"_GTK_FRAME_EXTENTS@:c"
"_GTK_FRAME_EXTENTS@:c",
#"_NET_WM_STATE@:32a"
];
@ -140,13 +140,13 @@ fade-exclude = [
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
inactive-opacity-override = true;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 1.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 always be considered focused.
# focus-exclude = []
@ -166,7 +166,7 @@ focus-exclude = [
#
# opacity-rule = []
opacity-rule = [
"100:class_g = 'slop'" # maim
"100:class_g = 'slop'", # maim
];
@ -208,12 +208,11 @@ blur-background = true;
blur: {
# requires: https://github.com/ibhagwan/picom
method = "none";
#method = "kernel";
strength = 0;
# deviation = 1.0;
# kernel = "11x11gaussian";
background = false;
#method = "none";
method = "kawase";
strength = 3;
deviation = 1.0;
background = true;
background-frame = false;
background-fixed = false;
kern = "3x3box";
@ -221,7 +220,7 @@ blur: {
# Exclude conditions for background blur.
blur-background-exclude = [
"class_g = 'slop'",
"class_g != 'St'",
"_GTK_FRAME_EXTENTS@:c"
];
@ -239,7 +238,7 @@ daemon = true
experimental-backends = true;
backend = "glx";
vsync = true
vsync = false
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false