From abfe3598b05b4b1b2d42e42e622d9c233f1d248b Mon Sep 17 00:00:00 2001 From: Cheri Date: Sat, 6 Feb 2021 12:45:25 +0200 Subject: [PATCH] I have blur now --- README.md | 2 +- picom.conf | 48 +++++++++++++++++++++++++++++++++++++----------- 2 files changed, 38 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 2ac9a4a..9ff67db 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ What I use right now (stuff I have to install on a fresh linux install): * copyq * flameshot * nitrogen -* picom/compton +* picom-git * xfce4-power-manager * nm-applet * lxqt-policykit diff --git a/picom.conf b/picom.conf index 9a2a391..53bf90d 100644 --- a/picom.conf +++ b/picom.conf @@ -13,6 +13,16 @@ # ░▓▓▓▓▓▓▓▓▓▓ # ░░░░░░░░░░ +#█▓▒░ animations +# requires https://github.com/jonaburg/picom +# (These are also the default values) +# transition-length = 150 +# transition-pow-x = 0.2 +# transition-pow-y = 0.2 +# transition-pow-w = 0.2 +# transition-pow-h = 0.2 +# size-transition = false + #█▓▒░ shadows wintypes: { shadow = true; @@ -52,16 +62,31 @@ no-fading-openclose = false; #█▓▒░ blur blur-background = false; -#blur-background-frame = true; -#blur-method = "dual_kawase"; -#blur-strength = 5; -#blur-background-fixed = false; -#blur-background-exclude = [ -# "window_type = 'dock'", -# "window_type = 'desktop'", -# "class_g = 'slop'", -# "_GTK_FRAME_EXTENTS@:c" -#]; +blur: { + method = "dual_kawase"; + #method = "kernel"; + strength = 7; + # deviation = 1.0; + # kernel = "11x11gaussian"; + background = false; + background-frame = false; + background-fixed = false; + kern = "3x3box"; +} + +# Exclude conditions for background blur. +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "class_g = 'URxvt'", + "class_g = 'brave' && argb", + # + # prevents picom from blurring the background + # when taking selection screenshot with `main` + # https://github.com/naelstrof/maim/issues/130 + "class_g = 'slop'", + "_GTK_FRAME_EXTENTS@:c" +]; #█▓▒░ other mark-wmwin-focused = true; @@ -70,9 +95,10 @@ detect-rounded-corners = true; detect-client-opacity = true; refresh-rate = 0; backend = "glx"; +# experimental-backends = true; glx-no-stencil = true; glx-no-rebind-pixmap = true; -vsync = false; +vsync = true; xrender-sync-fence = true; unredir-if-possible = true; dbe = false;