2023-12-02 10:42:59 +00:00
|
|
|
_: {
|
2023-11-06 07:48:20 +00:00
|
|
|
services.picom = {
|
|
|
|
enable = true;
|
2023-11-06 09:02:08 +00:00
|
|
|
settings = {
|
|
|
|
# Corner
|
|
|
|
corner-radius = 0;
|
|
|
|
round-borders = 0;
|
|
|
|
|
|
|
|
# Shadow
|
|
|
|
shadow = true;
|
|
|
|
shadow-radius = 15;
|
|
|
|
shadow-offset-x = -8;
|
|
|
|
shadow-offset-y = -8;
|
|
|
|
shadow-opacity = 0.2;
|
|
|
|
shadow-exclude = [
|
2024-01-07 06:19:24 +00:00
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
2023-11-06 09:02:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Fade
|
|
|
|
fading = true;
|
|
|
|
fade-in-step = 0.04;
|
|
|
|
fade-out-step = 0.04;
|
|
|
|
fade-delta = 3;
|
|
|
|
|
|
|
|
# Dim inactive window
|
|
|
|
inactive-dim = 0;
|
|
|
|
focus-exclude = [
|
|
|
|
"class_g = 'Rofi'"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Opacity
|
|
|
|
frame-opacity = 1;
|
|
|
|
active-opacity = 1;
|
|
|
|
inactive-opacity = 1;
|
|
|
|
dropdown_menu = {opacity = 1;};
|
|
|
|
popup_menu = {opacity = 1;};
|
2023-11-06 07:48:20 +00:00
|
|
|
|
2023-11-06 09:02:08 +00:00
|
|
|
opacity-rule = [
|
2024-01-07 06:19:24 +00:00
|
|
|
"100:_NET_WM_STATE@:32a = '_NET_WM_STATE_FULLSCREEN'"
|
|
|
|
"90:class_g = 'Polybar'"
|
|
|
|
"90:class_g = 'Rofi'"
|
|
|
|
"90:class_g = 'Alacritty'"
|
2023-11-06 09:02:08 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Blur
|
|
|
|
blur = {
|
|
|
|
method = "dual_kawase";
|
|
|
|
strength = 9;
|
|
|
|
};
|
|
|
|
blur-background-exclude = [
|
2024-01-07 06:19:24 +00:00
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
2023-11-06 09:02:08 +00:00
|
|
|
"class_g = 'Main'"
|
|
|
|
];
|
|
|
|
|
|
|
|
backend = "glx";
|
|
|
|
vsync = true;
|
|
|
|
use-damage = false;
|
|
|
|
unredir-if-possible = true;
|
|
|
|
|
|
|
|
wintypes = {
|
|
|
|
dropdown_menu = {opacity = 1;};
|
|
|
|
tooltip = {
|
|
|
|
fade = true;
|
|
|
|
shadow = true;
|
|
|
|
opacity = 0.1;
|
|
|
|
focus = true;
|
|
|
|
};
|
|
|
|
popup_menu = {opacity = 1;};
|
|
|
|
|
|
|
|
notification = {redir-ignore = true;};
|
|
|
|
notify = {redir-ignore = true;};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-11-06 07:48:20 +00:00
|
|
|
}
|