From b2083c03e9cf64817ea7530c637197808e1fa91a Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 29 Jun 2020 13:05:30 -0400 Subject: [PATCH] [picom] Add a picom configuration file --- i3/.config/picom/picom.conf | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 i3/.config/picom/picom.conf diff --git a/i3/.config/picom/picom.conf b/i3/.config/picom/picom.conf new file mode 100644 index 0000000..fb28bb7 --- /dev/null +++ b/i3/.config/picom/picom.conf @@ -0,0 +1,44 @@ +################################# +# GLX backend +################################# +backend = "xrender"; +vsync = false; +xrender-sync-fence = "true"; +glx-swap-method = -1; + +################################# +# Shadows +################################# +shadow = false; +shadow-radius = 5; +shadow-offset-x = -5; +shadow-offset-y = -5; +shadow-opacity = 0.2; +shadow-ignore-shaped = false; + +################################# +# Opacity +################################# +inactive-opacity = 0.2; +active-opacity = 1; +frame-opacity = 0.8; +inactive-opacity-override = false; +blur-background = true; +blur-background-frame = true; +blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; +blur-kern = "3x3box"; +blur-method = "kawase"; +blur-strength = 10; +opacity-rule = [ + "90:class_g = 'Alacritty'", + "class_g = 'firefox' && argb" +]; + +################################# +# Fading +################################# +fading = true;