Remove opacity for terminal to fix issues with floating windows

This commit is contained in:
RealStickman 2020-11-17 13:53:54 +01:00
parent fab1c472ca
commit 5c7db75044

View File

@ -56,7 +56,7 @@ glx-copy-from-front = false;
#################################
# Enabled client-side shadows on windows.
shadow = false;
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
@ -79,7 +79,6 @@ log-level = "warn";
# (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.
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
@ -87,6 +86,7 @@ shadow-exclude = [
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'picom'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
@ -99,7 +99,7 @@ shadow-exclude = [
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
#"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
@ -115,12 +115,8 @@ active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
opacity-rule = [
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.1;
# inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
# inactive-dim-fixed = true;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
@ -135,6 +131,15 @@ blur-background-exclude = [
"_GTK_FRAME_EXTENTS@:c"
];
opacity-rule = [
#"95:class_g = 'termite' && !_NET_WM_STATE@:32a",
#"0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'",
#"0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'"
]
#################################
#
# Fading
@ -142,7 +147,7 @@ blur-background-exclude = [
#################################
# Fade windows during opacity changes.
fading = false;
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 4;
# Opacity change between steps while fading in. (default 0.028).
@ -177,7 +182,7 @@ detect-rounded-corners = true;
detect-client-opacity = true;
# 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;
# Vertical synchronization: match the refresh rate of the monitor
@ -188,7 +193,7 @@ vsync = true;
# Reported to have no effect, though.
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,
# unless you wish to specify a lower refresh rate than the actual value.
#sw-opti = true;