Rename Compton to Picom

This commit is contained in:
foo-dogsquared 2019-12-23 11:31:44 +08:00
parent fbbc3b036d
commit 8c9c2a9d29

View File

@ -70,7 +70,7 @@ shadow-opacity = 0.5;
# shadow-green = 0.0; # shadow-green = 0.0;
# shadow-blue = 0.0; # shadow-blue = 0.0;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches # The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected). # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher. # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
shadow-exclude = [ shadow-exclude = [
@ -82,6 +82,7 @@ shadow-exclude = [
"name = 'xfce4-notifyd'", "name = 'xfce4-notifyd'",
"name *= 'VLC'", "name *= 'VLC'",
"name *= 'compton'", "name *= 'compton'",
"name *= 'picom'",
"name *= 'Chromium'", "name *= 'Chromium'",
"name *= 'Chrome'", "name *= 'Chrome'",
"class_g = 'Firefox' && argb", "class_g = 'Firefox' && argb",
@ -104,18 +105,23 @@ shadow-ignore-shaped = false;
# #
################################# #################################
inactive-opacity = 1; inactive-opacity = 0.5;
active-opacity = 1; active-opacity = 1;
frame-opacity = 1; frame-opacity = 1;
inactive-opacity-override = false; inactive-opacity-override = true;
opacity-rule = [
"90:class_g = 'alacritty' && focused",
"60:class_g = 'alacritty' && !focused"
];
# Dim inactive windows. (0.0 - 1.0) # Dim inactive windows. (0.0 - 1.0)
inactive-dim = 0.5; inactive-dim = 0.5;
# Do not let dimness adjust based on window opacity. # Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true; inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. # Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true; blur-background = true;
# Blur background of opaque windows with transparent frames as well. # Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true; # blur-background-frame = true;
# Do not let blur radius adjust based on window opacity. # Do not let blur radius adjust based on window opacity.
@ -140,7 +146,7 @@ fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03). # Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03; fade-out-step = 0.03;
# Fade windows in/out when opening/closing # Fade windows in/out when opening/closing
no-fading-openclose = true; # no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded. # Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ]; fade-exclude = [ ];
@ -167,7 +173,7 @@ detect-rounded-corners = true;
detect-client-opacity = true; detect-client-opacity = true;
# Specify refresh rate of the screen. # Specify refresh rate of the screen.
# If not specified or 0, compton will try detecting this with X RandR extension. # If not specified or 0, picom will try detecting this with X RandR extension.
refresh-rate = 0; refresh-rate = 0;
# Vertical synchronization: match the refresh rate of the monitor # Vertical synchronization: match the refresh rate of the monitor
@ -177,7 +183,7 @@ vsync = true;
# Reported to have no effect, though. # Reported to have no effect, though.
dbe = false; dbe = false;
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance. # 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, # 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. # unless you wish to specify a lower refresh rate than the actual value.
#sw-opti = true; #sw-opti = true;
@ -219,7 +225,7 @@ wintypes:
###################### ######################
# #
# XSync # XSync
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d # See: https://github.com/yshui/picom/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
# #
###################### ######################