mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-05-11 17:35:57 +08:00
updated compton config
Former-commit-id: 59a3a9f732
Former-commit-id: 008d2f6e7e8bd09c0d162a7e6cea1a89d8f4a51c
Former-commit-id: d9758fa98199f97d0ca77235b7541db9ce0e631f
Former-commit-id: 5e1e030fe7ee54e24ec908ce4a9ae80ce069ea83
This commit is contained in:
parent
154825b32a
commit
44bed47d7b
1 changed files with 48 additions and 9 deletions
|
|
@ -1,14 +1,20 @@
|
|||
# Performance related
|
||||
backend = "glx";
|
||||
#glx-no-stencil = true;
|
||||
#glx-copy-from-font = false;
|
||||
|
||||
# === Rules ===
|
||||
shadow-exclude = [
|
||||
"class_g ?= 'Polybar'",
|
||||
"class_g ?= 'slop'",
|
||||
# Disable i3wm titlebar shadows
|
||||
#"class_g ?= 'slop'",
|
||||
# For i3wm titlebar shadows
|
||||
#"class_g ?= 'i3-frame'",
|
||||
# For i3wm tabbed/stacked layout transparency/shadows
|
||||
# For i3wm tabbed/stacked layout shadows
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
];
|
||||
|
||||
opacity-rule = [
|
||||
# For i3wm tabbed/stacked layout transparency/shadows
|
||||
# For i3wm tabbed/stacked layout transparency
|
||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
];
|
||||
|
||||
|
|
@ -19,6 +25,7 @@ focus-exclude = [
|
|||
];
|
||||
|
||||
|
||||
# === Shadows ===
|
||||
# Enabled client-side shadows on windows.
|
||||
shadow = true;
|
||||
# Don't draw shadows on DND windows.
|
||||
|
|
@ -28,19 +35,28 @@ no-dock-shadow = false;
|
|||
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
|
||||
clear-shadow = true;
|
||||
# The blur radius for shadows. (default 12)
|
||||
shadow-radius = 1;
|
||||
shadow-radius = 3;
|
||||
# The left offset for shadows. (default -15)
|
||||
shadow-offset-x = -1;
|
||||
shadow-offset-x = -2;
|
||||
# The top offset for shadows. (default -15)
|
||||
shadow-offset-y = 0;
|
||||
shadow-offset-y = -1;
|
||||
# The translucency for shadows. (default .75)
|
||||
shadow-opacity = 0.2;
|
||||
# Detect rounded corners
|
||||
detect-rounded-corners = true;
|
||||
|
||||
# === Transparency ===
|
||||
#active-opacity = 0.95
|
||||
#inactive-opacity = 0.95
|
||||
#inactive-dim = 0.5
|
||||
# Border and titlebar opacity
|
||||
frame-opacity = 0.6;
|
||||
|
||||
# === Fading ===
|
||||
# Fade windows during opacity changes.
|
||||
fading = true;
|
||||
#fading = true;
|
||||
# The time between steps in a fade in milliseconds. (default 10).
|
||||
fade-delta = 5;
|
||||
#fade-delta = 5;
|
||||
# Opacity change between steps while fading in. (default 0.028).
|
||||
#fade-in-step = 0.03;
|
||||
# Opacity change between steps while fading out. (default 0.03).
|
||||
|
|
@ -52,3 +68,26 @@ fade-delta = 5;
|
|||
#fade-exclude = [
|
||||
# "name = '???'"
|
||||
#];
|
||||
|
||||
# === Blurring ===
|
||||
# Predefined
|
||||
#blur-kern = "3x3box"
|
||||
#blur-kern = "3x3gaussian"
|
||||
#blur-kern = "5x5box"
|
||||
#blur-kern = "5x5gaussian"
|
||||
#blur-kern = "7x7box"
|
||||
#blur-kern = "7x7gaussian"
|
||||
#blur-kern = "9x9gaussian"
|
||||
#blur-kern = "11x11gaussian"
|
||||
# Strong blur
|
||||
#blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
|
||||
# Medium blur
|
||||
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"
|
||||
# Weak blur
|
||||
#blur-kern = "3,3,1,1,1,1,1,1,1,1"
|
||||
blur-background = true;
|
||||
# Blur background of opaque windows with transparent frames as well.
|
||||
#blur-background-frame = true;
|
||||
blur-background-exclude = [
|
||||
"class_g ?= 'slop'"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue