backend = "glx";
fade-delta = 5;
fade-in-step = 0.075;
fade-out-step = 0.03;
fading = true;
rules = (
{
match = "focused";
opacity = 1.0;
fade = true;
},
{
match = "!focused";
opacity = 0.75;
fade = true;
},
{
match = "window_type = 'utility' || window_type = 'notification'";
shadow = false;
opacity = 1.0;
},
{
match = "class_g = 'i3-frame' || class_i = 'i3-frame'";
opacity = 1.0;
animations = (
{
triggers = [ "close", "hide" ];
preset = "slide-out";
direction = "down";
duration = 0.1;
},
{
triggers = [ "open", "show" ];
preset = "slide-in";
direction = "down";
duration = 0.1;
},
)
},
{
match = "window_type = 'dock'";
shadow = true;
opacity = 1.0;
animations = (
{
triggers = [ "close", "hide" ];
preset = "slide-out";
direction = "up";
duration = 0.1;
},
{
triggers = [ "open", "show" ];
preset = "slide-in";
direction = "up";
duration = 0.1;
},
)
},
{
match = "class_g = 'Dunst'";
shadow = false;
animations = (
{
triggers = [ "close", "hide" ];
preset = "slide-out";
direction = "right";
duration = 0.1;
},
{
triggers = [ "open", "show" ];
preset = "slide-in";
direction = "right";
duration = 0.1;
},
)
},
{ match = "class_g = 'Screenkey'"; shadow = false; },
{ match = "class_g = 'screenkey'"; shadow = false; },
{
match = "window_type = 'dropdown_menu' || window_type = 'popup_menu' || window_type = 'menu' || window_type = 'tooltip'";
opacity = 1;
fade = false;
full-shadow = true;
},
{
match = "class_i = 'rofi' || class_g = 'Rofi'";
fade = true;
opacity = 1;
full-shadow = true;
}
)
shadow = true;
shadow-offset-x = -15;
shadow-offset-y = -15;
shadow-opacity = 0.750000;
vsync = false;
animations = (
{
triggers = [ "geometry" ];
preset = "geometry-change";
duration = 0.1;
},
{
triggers = [ "close", "hide" ];
preset = "disappear"
duration = 0.1;
},
{
triggers = [ "open", "show" ];
preset = "appear";
duration = 0.1;
}
)
Platform
NixOS 24.11.20241130.62c435d (Vicuna) x86_64
GPU, drivers, and screen setup
Display (PL2470H): 1920x1080 @ 165 Hz in 24" [External]
GPU 1: AMD Radeon RX 7700 XT [Discrete]
GPU 2: AMD Raphael [Integrated]
glxinfo -BoutputEnvironment
WM: i3 v4.24 (X11)
picom version
v12.5
Diagnostics
Configuration:
Configuration file
Steps of reproduction
Also applicable to cycling through scratchpad windows.
Expected behavior
The focused window should have the
open/showanimation.Current Behavior
The focused window discards the
open/showanimation.Other details
picom_demo.mp4
EDIT: Toyed a bit around more, it seems that no animations are rendered at all on focused windows. The fact that they do get
close/hideanimations is because they are actually unfocused.