Tweak picom to get proper refresh rate without flickering when switching

This commit is contained in:
Joseph Ferano 2023-11-08 13:01:04 +07:00
parent a631177116
commit 6d6dfdc000
2 changed files with 6 additions and 5 deletions

View File

@ -8,7 +8,7 @@
# unless explicitly requested using the wintypes option. # unless explicitly requested using the wintypes option.
# #
# shadow = false # shadow = false
shadow = true; shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12) # The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12 # shadow-radius = 12
@ -70,9 +70,9 @@ shadow-exclude = [
################################# #################################
fading = true; # Fade windows during opacity changes fading = true; # Fade windows during opacity changes
fade-delta = 100; # The time between steps in a fade in milliseconds fade-delta = 30; # The time between steps in a fade in milliseconds
fade-in-step = 1; # Opacity change between steps while fading in fade-in-step = 1.0; # Opacity change between steps while fading in
fade-out-step = 1; # Opacity change between steps while fading out fade-out-step = 1.0; # Opacity change between steps while fading out
# Fade windows in/out when opening/closing and when opacity changes, # Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used. # unless no-fading-openclose is used.
# fading = false # fading = false
@ -256,7 +256,7 @@ detect-client-opacity = true;
# to maximize performance for full-screen windows. Known to cause flickering # to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows. # when redirecting/unredirecting windows.
# #
# unredir-if-possible = false unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0. # Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0 # unredir-if-possible-delay = 0

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
.config/magit/* .config/magit/*
!.config/magit/init.el !.config/magit/init.el
!.config/magit/early-init.el !.config/magit/early-init.el
__pycache__