conky: Undeprecate configs
This commit is contained in:
		@@ -9,25 +9,12 @@ glx-copy-from-front = false;
 | 
				
			|||||||
# Recommended if it works.
 | 
					# Recommended if it works.
 | 
				
			||||||
glx-no-rebind-pixmap = true;
 | 
					glx-no-rebind-pixmap = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# GLX backend: GLX buffer swap method we assume.
 | 
					 | 
				
			||||||
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
 | 
					 | 
				
			||||||
# undefined is the slowest and the safest, and the default value.
 | 
					 | 
				
			||||||
# copy is fastest, but may fail on some drivers,
 | 
					 | 
				
			||||||
# 2-6 are gradually slower but safer (6 is still faster than 0).
 | 
					 | 
				
			||||||
# Usually, double buffer means 2, triple buffer means 3.
 | 
					 | 
				
			||||||
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
 | 
					 | 
				
			||||||
# Useless with --glx-use-copysubbuffermesa.
 | 
					 | 
				
			||||||
# Partially breaks --resize-damage.
 | 
					 | 
				
			||||||
# Defaults to undefined.
 | 
					 | 
				
			||||||
glx-swap-method = "undefined";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
## SHADOWS
 | 
					## SHADOWS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
shadow = true;
 | 
					shadow = true;
 | 
				
			||||||
no-dnd-shadow = true;
 | 
					no-dnd-shadow = true;
 | 
				
			||||||
no-dock-shadow = false;
 | 
					no-dock-shadow = false;
 | 
				
			||||||
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
 | 
					# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
 | 
				
			||||||
clear-shadow = true;
 | 
					 | 
				
			||||||
shadow-radius = 6;
 | 
					shadow-radius = 6;
 | 
				
			||||||
shadow-offset-x = -4;
 | 
					shadow-offset-x = -4;
 | 
				
			||||||
shadow-offset-y = -4;
 | 
					shadow-offset-y = -4;
 | 
				
			||||||
@@ -38,31 +25,29 @@ shadow-opacity = 0.5;
 | 
				
			|||||||
shadow-ignore-shaped = false;
 | 
					shadow-ignore-shaped = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
shadow-exclude = [
 | 
					shadow-exclude = [
 | 
				
			||||||
    "name = 'oneko'",
 | 
						"name = 'oneko'",
 | 
				
			||||||
    "name = 'Notification'",
 | 
						"name = 'Notification'",
 | 
				
			||||||
    "name = 'xfce4-notifyd'",
 | 
						"name = 'xfce4-notifyd'",
 | 
				
			||||||
    "name *= 'VLC'",
 | 
						"name *= 'VLC'",
 | 
				
			||||||
    "name *= 'compton'",
 | 
						"name *= 'compton'",
 | 
				
			||||||
    "name *= 'Chromium'",
 | 
						"name *= 'Chromium'",
 | 
				
			||||||
    "name *= 'Chrome'",
 | 
						"name *= 'Chrome'",
 | 
				
			||||||
    "name *= 'Conky'",
 | 
						"name *= 'Conky'",
 | 
				
			||||||
    "name *= 'Polybar tray window'",
 | 
						"name *= 'Polybar tray window'",
 | 
				
			||||||
    "class_g = 'Conky'",
 | 
						"class_g = 'Conky'",
 | 
				
			||||||
    "class_g ?= 'Notify-osd'",
 | 
						"class_g ?= 'Notify-osd'",
 | 
				
			||||||
    "class_g ?= 'Xfce4-notifyd'",
 | 
						"class_g ?= 'Xfce4-notifyd'",
 | 
				
			||||||
    "class_g ?= 'Xfce4-power-manager'",
 | 
						"class_g ?= 'Xfce4-power-manager'",
 | 
				
			||||||
    "class_g ?= 'Wine'",
 | 
						"class_g ?= 'Wine'",
 | 
				
			||||||
    "_GTK_FRAME_EXTENTS@:c"
 | 
						"_GTK_FRAME_EXTENTS@:c"
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## OPACITY
 | 
					## OPACITY
 | 
				
			||||||
 | 
					
 | 
				
			||||||
menu-opacity = 1;
 | 
					 | 
				
			||||||
inactive-opacity = 1;
 | 
					inactive-opacity = 1;
 | 
				
			||||||
active-opacity = 1;
 | 
					active-opacity = 1;
 | 
				
			||||||
frame-opacity = 1;
 | 
					frame-opacity = 1;
 | 
				
			||||||
inactive-opacity-override = false;
 | 
					inactive-opacity-override = false;
 | 
				
			||||||
alpha-step = 0.06;
 | 
					 | 
				
			||||||
blur-background = false;
 | 
					blur-background = false;
 | 
				
			||||||
blur-kern = "7x7box";
 | 
					blur-kern = "7x7box";
 | 
				
			||||||
# Blur background of opaque windows with transparent frames as well.
 | 
					# Blur background of opaque windows with transparent frames as well.
 | 
				
			||||||
@@ -70,10 +55,10 @@ blur-background-frame = false;
 | 
				
			|||||||
# Do not let blur radius adjust based on window opacity.
 | 
					# Do not let blur radius adjust based on window opacity.
 | 
				
			||||||
blur-background-fixed = true;
 | 
					blur-background-fixed = true;
 | 
				
			||||||
blur-background-exclude = [
 | 
					blur-background-exclude = [
 | 
				
			||||||
    "! class_g = 'Conky'",
 | 
						"! class_g = 'Conky'",
 | 
				
			||||||
    "class_g ?= 'xfdesktop'",
 | 
						"class_g ?= 'xfdesktop'",
 | 
				
			||||||
    "window_type = 'dock'",
 | 
						"window_type = 'dock'",
 | 
				
			||||||
    "class_g ?= 'Wine'"
 | 
						"class_g ?= 'Wine'"
 | 
				
			||||||
];
 | 
					];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## FADING
 | 
					## FADING
 | 
				
			||||||
@@ -100,15 +85,10 @@ use-ewmh-active-win = true;
 | 
				
			|||||||
detect-rounded-corners = true;
 | 
					detect-rounded-corners = true;
 | 
				
			||||||
detect-client-opacity = true;
 | 
					detect-client-opacity = true;
 | 
				
			||||||
refresh-rate = 144;
 | 
					refresh-rate = 144;
 | 
				
			||||||
vsync = "opengl-swc";
 | 
					vsync = true;
 | 
				
			||||||
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
 | 
					# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
 | 
				
			||||||
# Reported to have no effect, though.
 | 
					# Reported to have no effect, though.
 | 
				
			||||||
dbe = false;
 | 
					dbe = false;
 | 
				
			||||||
# Painting on X Composite overlay window. Recommended.
 | 
					 | 
				
			||||||
paint-on-overlay = true;
 | 
					 | 
				
			||||||
# Limit compton 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
 | 
					 | 
				
			||||||
sw-opti = true;
 | 
					 | 
				
			||||||
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
 | 
					# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
 | 
				
			||||||
# Known to cause flickering when redirecting/unredirecting windows.
 | 
					# Known to cause flickering when redirecting/unredirecting windows.
 | 
				
			||||||
# paint-on-overlay may make the flickering less obvious.
 | 
					# paint-on-overlay may make the flickering less obvious.
 | 
				
			||||||
@@ -124,15 +104,18 @@ detect-client-leader = true;
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
wintypes:
 | 
					wintypes:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    tooltip =
 | 
						dnd = {
 | 
				
			||||||
    {
 | 
							shadow = false;
 | 
				
			||||||
        # fade: Fade the particular type of windows.
 | 
						}
 | 
				
			||||||
        fade = true;
 | 
						dock = {
 | 
				
			||||||
        # shadow: Give those windows shadow
 | 
							shadow = true;
 | 
				
			||||||
        shadow = true;
 | 
						}
 | 
				
			||||||
        # opacity: Default opacity for the type of windows.
 | 
						tooltip =
 | 
				
			||||||
        opacity = 0.85;
 | 
						{
 | 
				
			||||||
        # focus: Whether to always consider windows of this type focused.
 | 
							fade = true;
 | 
				
			||||||
        focus = true;
 | 
							shadow = true;
 | 
				
			||||||
    };
 | 
							#opacity = 0.85;
 | 
				
			||||||
 | 
							# focus: Whether to always consider windows of this type focused.
 | 
				
			||||||
 | 
							focus = true;
 | 
				
			||||||
 | 
						};
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user