# Performance related # Use OpenGL backend = "glx"; # These might or might NOT help with performance #glx-no-stencil = true; glx-copy-from-front = false; # When enbled on intel GPU: screen broken until compton is killed. #glx-use-copysubbuffermesa = true glx-no-rebind-pixmap = true glx-swap-method = 1 # Other mark-wmwin-focused = true; mark-ovredir-focused = true; use-ewmh-active-win = true; detect-client-opacity = true; refresh-rate = 60; vsync = true; dbe = false; # sw-opti = true; unredir-if-possible = true; # unredir-if-possible-delay = 5000; # unredir-if-possible-exclude = [ ]; detect-transient = true; detect-client-leader = true; invert-color-include = [ ]; # resize-damage = 1; # === Rules === shadow-exclude = [ "class_g ?= 'slop'", "class_g ?= 'Polybar'", # i3wm titlebar shadows (tabbed/stacked) "class_g ?= 'i3-frame'", "class_g ?= 'Visualizer'", # i3wm hidden window shadows (tabbed/stacked) "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "window_type *= 'menu'", "window_type = 'utility'", "window_type = 'dropdown_menu'", "window_type = 'popup_menu'", "name = 'Notification'", "class_g = 'Conky'", "class_g = 'Plank'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "_GTK_FRAME_EXTENTS@:c", "class_g = 'slop'", "class_g = 'Rofi'", "window_type = 'splash'" ]; opacity-rule = [ "80:class_g = 'URxvt'", "80:class_g = 'UXTerm'", "80:class_g = 'XTerm'", "86:class_g = 'Thunar'", "86:class_g = 'PCManFM-Qt'", "80:class_g = 'Geany'", "100:class_g = 'Gnome-calculator'", "76:class_g = 'kitty'", "100:class_g = 'Gnome-system-monitor'", "100:class_g = 'Transmission-gtk'", "100:class_g = 'firefox'", "100:class_g = 'File-roller'", "80:class_g = 'Xfce4-power-manager-settings'", "80:class_g = 'Pavucontrol'", "100:class_g = 'Pamac-manager'", "80:class_g = 'Caprine'", "76:class_g = 'gnome-terminal'", "76:class_g = 'xfce4-panel'", "76:class_g = 'xfdashboard'", "96:class_g = 'code'" ]; focus-exclude = [ "class_g = 'Cairo-clock'", #"class_g ?= 'rofi'" #'_NET_WM_NAME@:s = "rofi"' "class_g ?= 'slop'", "name = 'rofi'", "class_g ?= 'Steam'", "_NET_WM_WINDOW_TYPE@:a *= 'MENU'", "window_type *= 'menu'", "window_type = 'utility'", "window_type = 'dropdown_menu'", "window_type = 'popup_menu'" ]; blur-background-exclude = [ # "window_type = 'dock'", "window_type = 'utility'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c", "class_g = 'slop'", "class_g = 'Xfce4-screenshooter'" ]; # === Shadows === # Enabled client-side shadows on windows. shadow = false; # Don't draw shadows on DND windows. #no-dnd-shadow = true; # Avoid drawing shadows on dock/panel windows. #no-dock-shadow = true; # Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows. # Detect rounded corners # (it doesn't really do anything for shadows) detect-rounded-corners = true; # shadow-radius: The blur radius for shadows. (default 12) # shadow-offset-x: The left offset for shadows. (default -15) # shadow-offset-y: The top offset for shadows. (default -15) # shadow-opacity: The translucency for shadows. (default .75) shadow-radius = 6; shadow-offset-x = -8; shadow-offset-y = -8; shadow-opacity = 0.3; # === Transparency === #active-opacity = 0.96 #inactive-opacity = 0.95 #inactive-dim = 0.30 # Border and titlebar opacity #frame-opacity = 0.4; # === Fading === # Fade windows during opacity changes. fading = true; # The time between steps in a fade in milliseconds. (default 10). fade-delta = 3; # Opacity change between steps while fading in. (default 0.028). #fade-in-step = 0.03; # Opacity change between steps while fading out. (default 0.03). #fade-out-step = 0.03; # Fade windows in/out when opening/closing no-fading-openclose = false; # Specify a list of conditions of windows that should not be faded. #fade-exclude = [ # "name = '???'" #]; # === Blurring === blur-background = true; blur-method = "dual_kawase"; blur-strength = 5; blur-background-fixed = true; # Blur background of opaque windows with transparent frames as well. blur-background-frame = true; # Predefined #blur-kern = "3x3box" #blur-kern = "3x3gaussian" #blur-kern = "5x5box" #blur-kern = "5x5gaussian" #blur-kern = "7x7box" #blur-kern = "7x7gaussian" #blur-kern = "9x9gaussian" #blur-kern = "11x11gaussian" # Strong-ish blur blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" # Medium blur #blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" # Weak blur #blur-kern = "3,3,1,1,1,1,1,1,1,1" #Window type settings # TODO wintypes: { tooltip = { fade = true; shadow = false; }; menu = { shadow = false; }; dropdown_menu = { shadow = false; }; popup_menu = { shadow = false; }; utility = { shadow = false; }; dock = { shadow = false }; dnd = { shadow = false }; };