Skip to content

Instantly share code, notes, and snippets.

@ChrisTitusTech
Forked from crnisamuraj/picom-extended.conf
Created March 21, 2022 18:19
Show Gist options
  • Save ChrisTitusTech/86eac111a317ebf9045693ce5ecbf8be to your computer and use it in GitHub Desktop.
Save ChrisTitusTech/86eac111a317ebf9045693ce5ecbf8be to your computer and use it in GitHub Desktop.
Picom config file for KDE Plasma + Kwin + Picom
### Fading
fading = true;
fade-in-step = 0.06;
fade-out-ste = 0.06;
fade-delta = 3;
fade-exclude = [
"class_g = 'yakuake'"
]
### Opacity
opacity-rule = [
"98:class_g = 'plasmashell'"
];
### Shadows
shadow = true;
shadow-exclude = [
"class_g = 'lattedock'",
"_GTK_FRAME_EXTENTS@:c"
]
xinerama-shadow-crop = true;
### Blur
blur:{
method = "kernel";
}
blur-background-exclude = [
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
### Wintypes
wintypes:{
normal = { blur-background = true; };
splash = { blur-background = false; };
popup_menu = { opacity = 0.9; };
dropdown_menu = { opacity = 0.8; };
dock = { shadow = false; clip-shadow-above = true; };
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
};
### Backend
backend = "glx";
#backend = "xrender";
vsync = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
xrender-sync-fence = true;
dbus=true;
### Corners
detect-rounded-corners = true;
corner-radius = 6;
rounded-corners-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"window_type = 'popup_menu'"
];
detect-client-opacity = true;
detect-transient = true;
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
detect-client-leader = true;
[Unit]
Description=Picom compositor fork
Documentation=man:picom(1)
PartOf=graphical-session.target
# Don't try to restart after 60 seconds
StartLimitIntervalSec=60
[Service]
ExecStart=/usr/bin/picom --experimental-backends
ExecReload=/usr/bin/killall picom
# Try to restart no matter how the process ended
Restart=always
# Restart in 5 second intervals
RestartSec=5
# Try to restart up to 3 times
StartLimitBurst=3
[Install]
WantedBy=xsession.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment