dotfiles/.config/picom/picom.conf

137 lines
3.1 KiB
Text
Raw Normal View History

2022-07-10 10:23:34 +03:00
#################################
# Animations #
#################################
# requires https://github.com/jonaburg/picom
# (These are also the default values)
transition-length = 300
transition-pow-x = 0.1
transition-pow-y = 0.1
transition-pow-w = 0.1
transition-pow-h = 0.1
size-transition = true
#################################
# Corners #
#################################
corner-radius = 0.0;
rounded-corners-exclude = [
#"window_type = 'normal'",
# "class_g = 'URxvt'",
# "class_g = 'XTerm'",
"class_g = 'Polybar'",
# "class_g = 'code-oss'",
#"class_g = 'TelegramDesktop'",
# "class_g = 'firefox'",
# "class_g = 'Thunderbird'",
];
round-borders = 0;
round-borders-exclude = [
"class_g = 'KotatogramDesktop'",
# "class_g = 'firefox'",
"class_g = 'Steam'",
];
#################################
# Background-Blurring #
#################################
blur: {
method = "dual_kawase";
strength = 3;
background = false;
# background-frame = true;
# background-fixed = false;
}
blur-kern = "3x3box";
# Exclude conditions for background blur.
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"window_type = 'slop'",
"class_g = 'KotatogramDesktop'",
"class_g = 'slop'",
"class_g = 'firefox'",
# "class_g = 'Xfce4-notifyd'",
"class_g = 'Xfce4-panel'",
"class_g = 'Xfce4-screensaver'",
"class_g = 'Xfdesktop'",
"class_g = 'Xfwm'",
# "class_g = 'LibreWolf'",
# "class_g = 'Steam'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# Shadows #
#################################
shadow = true;
# shadow-radius = 4
# shadow-opacity = .35
# shadow-offset-x = .1
# shadow-offset-y = .1
shadow-exclude = [
"name = 'Notification'",
"class_g = 'LibreWolf' && argb",
"class_g = 'firefox' && argb",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"class_g = 'KotatogramDesktop'",
"class_g = 'Steam'",
"class_g = 'Rofi'",
"class_g = 'Xfce4-notifyd'",
"class_g = 'Xfce4-panel'",
"_GTK_FRAME_EXTENTS@:c",
];
# xinerama-shadow-crop = true
#################################
# Fading #
#################################
fading = true;
fade-in-step = 0.055;
fade-out-step = 0.055;
fade-delta = 3
# no-fading-openclose = false
# no-fading-destroyed-argb = true;
#################################
# Transparency / Opacity #
#################################
inactive-opacity = 1;
active-opacity = 1;
#################################
# General Settings #
#################################
daemon = true
backend = "glx";
vsync = true;
# mark-wmwin-focused = true;
# detect-client-opacity = true;
# detect-transient = true;
# detect-client-leader = true;
# glx-no-stencil = true;
# xrender-sync-fence = true;
dbus = true;
# use-ewmh-active-win = true;
# unredir-if-possible = true;
# glx-no-rebind-pixmap = true;
refresh-rate = 60;
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.95; }
dropdown_menu = { opacity = 0.95; }
};