# ~/.config/picom.conf ################################## # GENERAL ################################## # use xrender backend (more compatible) backend = "xrender"; # enable vsync to avoid tearing vsync = true; # refresh rate detection (set to 0 to disable) refresh_rate = 0; # detect screens and reconfigure when outputs change detect_outputs = true; # start quiet (no startup notification) startup_notification = false; ################################## # SHADOWS ################################## # whether to draw shadows shadow = true; # shadow radius for blur shadow-radius = 7; # shadow offset in x and y shadow-offset-x = -7; shadow-offset-y = -7; # shadow color (rgba) shadow-color = "#00000080"; # classes or windows to exclude from having shadows shadow-exclude = [ "class_g = 'i3-frame'", "window_type = 'dock'", "window_type = 'desktop'" ]; ################################## # FADING (disabled) ################################## # disable all fade effects fading = false; # or if you wanted to re-enable but only disable open/close fades: # no-fading-openclose = true; ################################## # BLUR (optional) ################################## # enable blur blur-background = true; # blur method: options are 'kernel' or 'dual_kawase' blur-method = "dual_kawase"; # strength of the blur blur-strength = 5; # windows to exclude from blur blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "class_g = 'Firefox'", "class_g ?= '.*Termite.*'" ]; ################################## # OPACITY RULES ################################## # inactive windows are slightly dimmed inactive-opacity = 0.90; # active window full opacity active-opacity = 1.0; # opacity for override-redirect (eg dropdowns) frame-opacity = 0.80; # per-window opacity overrides opacity-rule = [ "90:class_g = 'URxvt'", "85:class_g = 'Alacritty'", "80:class_g = 'steam'", "75:class_g = 'discord'" ]; ################################## # OTHER EFFECTS ################################## # dim background windows (if wanted) # dim = true; # dim-fixed = 0.2; # dim-exclude = []; # mark focused windows (outline) # mark-wm-focused = true; # mark-wm-focused-color = "#ff0000"; # blur on fullscreen (eg videos) # blur-background-frame = true; ################################## # EXCLUSIONS ################################## # don't blur or shadow some windows shadow-exclude = [ "class_g = 'firefox'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; fading-exclude = [ "class_g = 'Conky'", "class_g = 'plasmashell'" ]; ################################## # MISC ################################## # detect inactive fullscreen and disable effects detect-client-opacity = true; # log file (for debugging) log-file = "~/.cache/picom.log"; # log-level: trace, debug, info, warn, error log-level = "info";