Skip to content

Commit 45a417e

Browse files
committed
Fix dropdown menus in firefox to not have rounder corners, shadows or blur
1 parent 1670666 commit 45a417e

File tree

2 files changed

+47
-20
lines changed

2 files changed

+47
-20
lines changed

.config/picom/picom.conf

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Thank you code_nomad: http://9m.no/ꪯ鵞
2-
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
3-
41
#################################
52
#
63
# Backend
@@ -41,6 +38,7 @@ glx-copy-from-front = false;
4138
# Defaults to undefined.
4239
#glx-swap-method = "undefined";
4340

41+
4442
#################################
4543
#
4644
# Shadows
@@ -68,17 +66,17 @@ shadow-opacity = 0.5;
6866
# 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.
6967
shadow-exclude = [
7068
"! name~=''",
69+
"argb",
7170
"name = 'Notification'",
7271
"name = 'Plank'",
7372
"name = 'Docky'",
7473
"name = 'Kupfer'",
7574
"name = 'xfce4-notifyd'",
76-
"name *= 'VLC'",
7775
"name *= 'compton'",
7876
"name *= 'picom'",
7977
"name *= 'Chromium'",
8078
"name *= 'Chrome'",
81-
"class_g = 'Firefox' && argb",
79+
"class_g = 'Firefox'",
8280
"class_g = 'Conky'",
8381
"class_g = 'Kupfer'",
8482
"class_g = 'Synapse'",
@@ -87,6 +85,7 @@ shadow-exclude = [
8785
"class_g ?= 'Xfce4-notifyd'",
8886
"class_g ?= 'Xfce4-power-manager'",
8987
];
88+
9089
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
9190
shadow-ignore-shaped = false;
9291

@@ -102,8 +101,8 @@ frame-opacity = 1;
102101
inactive-opacity-override = false;
103102

104103
# Dim inactive windows. (0.0 - 1.0)
105-
# inactive-dim = 0.1;
106-
inactive-dim = 0;
104+
inactive-dim = 0.1;
105+
107106
# Do not let dimness adjust based on window opacity.
108107
# inactive-dim-fixed = true;
109108
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
@@ -112,18 +111,17 @@ inactive-dim = 0;
112111
# blur-background-frame = true;
113112
# Do not let blur radius adjust based on window opacity.
114113
#blur-background-fixed = false;
115-
#blur-background-exclude = [
116-
# "window_type = 'dock'",
117-
# "window_type = 'desktop'"
118-
# "class_g = 'i3-frame'",
119-
#];
120-
121-
#blur:
122-
#{
123-
# method = "gaussian";
124-
# size = 10;
125-
# deviation = 5.0;
126-
#}
114+
115+
blur: {
116+
method = "dual_kawase";
117+
strength = 7;
118+
}
119+
120+
blur-background-exclude = [
121+
"class_g ='firefox'",
122+
"class_g ='Thunderbird'",
123+
"argb",
124+
];
127125

128126
#################################
129127
#
@@ -143,7 +141,8 @@ fade-out-step = 0.03;
143141
# no-fading-openclose = true;
144142

145143
# Specify a list of conditions of windows that should not be faded.
146-
fade-exclude = [ ];
144+
fade-exclude = [
145+
];
147146

148147
#################################
149148
#
@@ -210,8 +209,34 @@ wintypes:
210209
# focus: Whether to always consider windows of this type focused.
211210
focus = true;
212211
};
212+
213+
dropdown_menu = {
214+
blur-background = false;
215+
fade = false;
216+
rounded-corners = false;
217+
};
218+
219+
popup_menu = {
220+
blur-background = false;
221+
fade = false;
222+
rounded-corners = false;
223+
};
224+
225+
utility = {
226+
blur-background = false;
227+
fade = false;
228+
rounded-corners = false;
229+
}
213230
};
214231

232+
animations = (
233+
{
234+
triggers = ["geometry"];
235+
preset = "geometry-change";
236+
duration = 0.15;
237+
}
238+
)
239+
215240
######################
216241
#
217242
# XSync

.config/xmonad/hie.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cradle:
2+
stack:

0 commit comments

Comments
 (0)