1
0
forked from extern/nix-config
donovanglover-nix-config/picom/.config/picom.conf
Donovan Glover 1cde245d11
picom: Fix flickering screen after resume from dpms
This appears to fix an issue where the screen would occasionally flicker
after resuming from dpms' screen blanking feature. So far I have not
observed any significant performance degradations.

Reference: https://github.com/yshui/picom/issues/578
2022-09-28 13:32:07 -04:00

64 lines
1.3 KiB
INI

# New Start: A modern Arch workflow built with an emphasis on functionality.
# Copyright (C) 2017-2018 Donovan Glover
# Fix screen tearing
backend = "glx"
vsync = true
# Enable shadows (very important, as this makes everything look really nice)
shadow = true
# Disable shadow on docks like polybar
no-dock-shadow = true
# Disable shadow on hacksaw
shadow-exclude = [
"name = 'hacksaw'"
]
# Make some applications translucent.
# An easy way to get the class name of a window is with the following:
# sleep 5; xdotool getwindowclassname (xdotool getactivewindow)
opacity-rule = [
"90:class_g = 'Polybar'",
"90:class_g = 'code-oss'",
"99:class_g = 'Org.gnome.Nautilus'"
]
# Don't fade in polybar when showing it
fade-exclude = [
"class_g = 'Polybar'"
]
# Disable shadow for drag-and-drop functionality
wintypes: {
dnd = {
shadow = false
}
}
# Fade windows when you open and close them, as well as change workspaces
fading = true
# Shadow settings
shadow-radius = 8
shadow-opacity = 0.25
# Shadow offset (-10 for HiDPI, -5 otherwise)
shadow-offset-x = -5
shadow-offset-y = -5
# Fade settings
fade-in-step = 0.08
fade-out-step = 0.09
fade-delta = 10
# Add transparency to bspwm borders
#frame-opacity = 0.5
# Fix flickering issue by drawing whole screen every time
# See: https://github.com/yshui/picom/issues/578
use-damage = false
# vim:ft=dosini