X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/e6915379a3e4dac6a7ea56c6f148042bf9d1a6f3..d583ed8c4ab9f6f29c4596e190d033df4ccca5eb:/compton/.config/compton.conf?ds=inline

diff --git a/compton/.config/compton.conf b/compton/.config/compton.conf
index 75cecb7..bd34ff0 100644
--- a/compton/.config/compton.conf
+++ b/compton/.config/compton.conf
@@ -11,7 +11,7 @@ shadow-offset-y = -5;		# The top offset for shadows. (default -15)
 # shadow-red = 0.0;		# Red color value of shadow. (0.0 - 1.0, defaults to 0)
 # shadow-green = 0.0;		# Green color value of shadow. (0.0 - 1.0, defaults to 0)
 # shadow-blue = 0.0;		# Blue color value of shadow. (0.0 - 1.0, defaults to 0)
-shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'" ];	# Exclude conditions for shadows.
+shadow-exclude = [ "n:e:Notification", "class_g = 'Chromium'", "class_g = 'Dmenu'", "class_g = 'Firefox' && argb" ];	# Exclude conditions for shadows.
 # shadow-exclude = "n:e:Notification";
 #shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ] # Fix dual shadow on some gtk3 powered applications
 shadow-ignore-shaped = true;	# Avoid drawing shadow on all shaped windows
@@ -47,7 +47,7 @@ fade-out-step = 0.03;		# Opacity change between steps while fading out. (default
 fade-exclude = [ ];		# Exclude conditions for fading.
 
 # Other
-backend = "xrender"		# Backend to use: "xrender" or "glx". GLX backend is typically
+backend = "glx"			# Backend to use: "xrender" or "glx". GLX backend is typically
 				# much faster but depends on a sane driver.
 mark-wmwin-focused = true;	# Try to detect WM windows and mark them as active.
 mark-ovredir-focused = true;	# Mark all non-WM but override-redirect windows active (e.g. menus).
@@ -59,7 +59,7 @@ detect-client-opacity = true;	# Detect _NET_WM_OPACITY on client windows, useful
 				# managers not passing _NET_WM_OPACITY of client windows to frame
 				# windows.
 refresh-rate = 0;		# For --sw-opti: Specify refresh rate of the screen. 0 for auto.
-vsync = "opengl";		# "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc" 
+vsync = "drm";			# "none", "drm", "opengl", "opengl-oml", "opengl-swc", "opengl-mswc" 
 				# See man page for more details.
 dbe = false;			# Enable DBE painting mode. Rarely needed.
 paint-on-overlay = true;	# Painting on X Composite overlay window. Recommended.
@@ -85,6 +85,10 @@ glx-swap-method = "undefined";	# See man page.
 wintypes:
 {
   tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
+  menu = { shadow = false; };
+  dropdown_menu = { shadow = false; };
+  popup_menu =  { shadow = false; };
+  utility =  { shadow = false; };
   # fade: Fade the particular type of windows.
   # shadow: Give those windows shadow
   # opacity: Default opacity for the type of windows.