From f1c33f1882f6b82f7c5796bc7b6d5781c06e8d02 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Sun, 14 Aug 2022 21:16:39 +0200 Subject: [PATCH] Removed anaesthetic blur and shadows to some menus of Firefox/Librewolf and GTK apps --- picom/.config/picom/config | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/picom/.config/picom/config b/picom/.config/picom/config index 7dd3e39..5b24bc6 100644 --- a/picom/.config/picom/config +++ b/picom/.config/picom/config @@ -22,8 +22,11 @@ shadow-opacity = 0.3; shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c", "_NET_WM_STATE@:a *= '_NET_WM_STATE_HIDDEN'", + "window_type = 'menu'", + "(class_g = 'Firefox' || class_g = 'Librewolf') && (window_type = 'utility' || window_type = 'popup_menu')", "class_g = 'URxvt'", - "class_g = 'TelegramDesktop'" + "class_g = 'TelegramDesktop'", + "class_g = 'trayer'" ]; ## Fading @@ -67,6 +70,8 @@ blur-background-exclude = [ "window_type = 'utility'", "window_type = 'dialog'", "window_type = 'notification'", - "window_type = 'normal' && !class_g = 'URxvt' && !class_g = 'Rofi'", + "window_type = 'menu'", + "window_type = 'normal' && !(class_g = 'URxvt' || class_g = 'Rofi')", + "(class_g = 'Firefox' || class_g = 'Librewolf') && window_type = 'popup_menu'", "class_g = 'TeamSpeak 3'" ];