mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Fix firefox popupmenu shadow
This commit is contained in:
parent
20e4799190
commit
30e411817c
2 changed files with 3 additions and 9 deletions
|
|
@ -9,10 +9,8 @@ shadow-offset-y = -32
|
|||
shadow-opacity = 0.48
|
||||
|
||||
shadow-exclude = [
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"class_g = 'firefox' && window_type = 'utility'",
|
||||
"class_g = 'Tor Browser' && window_type = 'utility'",
|
||||
"class_g = 'Thunderbird' && window_type = 'utility'"
|
||||
"class_g = 'firefox' && window_type = 'popup_menu'"
|
||||
]
|
||||
|
||||
#################################
|
||||
|
|
@ -32,6 +30,7 @@ rounded-corners-exclude = [
|
|||
&& IS_FLOATING@:s != 'True' && IS_SINGLE@:s != 'True'",
|
||||
"QTILE_INTERNAL@:32c = 1",
|
||||
"window_type = 'tooltip'",
|
||||
"class_g = 'kitty'",
|
||||
"class_g = 'mpv'",
|
||||
"class_g *= 'steam_app_'"
|
||||
];
|
||||
|
|
@ -43,7 +42,7 @@ rounded-corners-exclude = [
|
|||
blur-method = "dual_kawase"
|
||||
blur-strength = 6
|
||||
blur-background-exclude = [
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"class_g = 'firefox' && window_type = 'popup_menu'",
|
||||
"class_g = 'Peek'"
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,2 @@
|
|||
@import "userChrome/sidebar.css";
|
||||
@import "userChrome/topbar.css";
|
||||
|
||||
/* 去除弹出菜单的透明边框 (与compositor冲突) */
|
||||
menupopup, panel {
|
||||
--panel-shadow-margin: 0 !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue