From 08314dae894927a9fb33448c63ada25e41923578 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Mon, 24 Jun 2024 03:13:24 +0300 Subject: Added rules in picom to disable blurring on context menus --- awesome/.config/awesome/picom.conf | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'awesome/.config') diff --git a/awesome/.config/awesome/picom.conf b/awesome/.config/awesome/picom.conf index 18ae177..db2fc06 100644 --- a/awesome/.config/awesome/picom.conf +++ b/awesome/.config/awesome/picom.conf @@ -7,8 +7,8 @@ # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # -# shadow = false -shadow = true; +shadow = false; +# shadow = true; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 @@ -60,6 +60,7 @@ shadow-offset-y = -7; # examples: # shadow-exclude = "n:e:Notification"; # +# # shadow-exclude = [] shadow-exclude = [ "name = 'Notification'", @@ -72,6 +73,9 @@ shadow-exclude = [ "name *= 'compton'", "name *= 'Chromium'", "name *= 'Chrome'", + "name *= 'Brave-browser'", + "class_g = 'Brave-browser'", + "class_g = 'firefox'", "class_g = 'Firefox' && argb", "class_g = 'Conky'", "class_g = 'Kupfer'", @@ -99,6 +103,9 @@ shadow-exclude = [ # Crop shadow of a window fully on a particular Xinerama screen to the screen. # xinerama-shadow-crop = false +wintypes: { + menu = { shadow = false; blur-background = false; } +} ################################# @@ -194,7 +201,10 @@ blur-background-exclude = [ # "window_type = 'tooltip'"; # "window_type = 'dock'", # "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" + # + # "_GTK_FRAME_EXTENTS@:c" + "class_g = 'Brave-browser'", + "class_g = 'firefox'", ]; -- cgit v1.2.3