Files
dotfiles/.config/picom/picom.conf
T
Daniele Fucini be065bef95 picom: never unredirect for mpv
Fullscreen mpv was unredirected and left the HDMI output (reverse PRIME sink) black, as i3lock did.
2026-11-21 15:11:38 +01:00

52 lines
1.2 KiB
Plaintext

backend = "xrender"
dithered-present = false;
use-damage = true;
# Fullscreen games bypass picom: less CPU work and latency.
unredir-if-possible = true;
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
frame-opacity = 0.9;
corner-radius = 0
blur-kern = "3x3box";
detect-rounded-corners = true;
detect-client-opacity = true;
detect-transient = true;
rules: ({
match = "window_type = 'tooltip'";
fade = false;
shadow = true;
opacity = 0.75;
full-shadow = false;
}, {
match = "window_type = 'dock' || "
"window_type = 'desktop' || "
"_GTK_FRAME_EXTENTS@";
blur-background = false;
}, {
match = "window_type = 'dock' || "
"window_type = 'desktop'";
corner-radius = 0;
}, {
match = "name = 'Notification' || "
"class_g = 'Conky' || "
"class_g ?= 'Notify-osd' || "
"class_g = 'Cairo-clock' || "
"_GTK_FRAME_EXTENTS@";
shadow = false;
}, {
# Unredirecting fullscreen i3lock/mpv left the HDMI output (reverse PRIME sink) black.
match = "class_g = 'i3lock' || "
"class_g = 'mpv'";
unredir = false;
})