Difference between revisions of "Translations:Using Compton for a tear-free experience in Xfce/5/en"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
(Importing a new version from external source) |
(Importing a new version from external source) Tags: Mobile web edit Mobile edit |
||
| Line 1: | Line 1: | ||
The following are some commonly used options: | The following are some commonly used options: | ||
{{File|file=~/.config/picom/picom.conf|content= | |||
<pre> | |||
backend = "glx"; | |||
glx-no-stencil = true; | |||
vsync = true; | |||
unredir-if-possible = true; | |||
# Shadow | |||
shadow = true; # Enabled client-side shadows on windows. | |||
shadow-radius = 7; # The blur radius for shadows. (default 12) | |||
shadow-offset-x = -7; # The left offset for shadows. (default -15) | |||
shadow-offset-y = -7; # The top offset for shadows. (default -15) | |||
shadow-exclude = [ | |||
"n:e:Notification", | "n:e:Notification", | ||
"n:e:Docky", | "n:e:Docky", | ||
| Line 23: | Line 25: | ||
"class_g ?= 'Notify-osd'", | "class_g ?= 'Notify-osd'", | ||
"_GTK_FRAME_EXTENTS@:c" | "_GTK_FRAME_EXTENTS@:c" | ||
]; | |||
# Opacity | |||
detect-client-opacity = true; | |||
# Window type settings | |||
wintypes: | |||
{ | |||
dock = { shadow = false; }; | dock = { shadow = false; }; | ||
dnd = { shadow = false; }; | dnd = { shadow = false; }; | ||
tooltip = { shadow = false; }; | tooltip = { shadow = false; }; | ||
}; | }; | ||
</pre> | |||
}} | |||
Latest revision as of 06:18, 18 January 2023
The following are some commonly used options:
~/.config/picom/picom.conf
backend = "glx";
glx-no-stencil = true;
vsync = true;
unredir-if-possible = true;
# Shadow
shadow = true; # Enabled client-side shadows on windows.
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-exclude = [
"n:e:Notification",
"n:e:Docky",
"g:e:Synapse",
"g:e:Conky",
"n:w:*Firefox*",
"n:w:*Chromium*",
"n:w:*dockbarx*",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"class_g ?= 'Notify-osd'",
"_GTK_FRAME_EXTENTS@:c"
];
# Opacity
detect-client-opacity = true;
# Window type settings
wintypes:
{
dock = { shadow = false; };
dnd = { shadow = false; };
tooltip = { shadow = false; };
};