commit 84170e4ff98a672ac5dad4f51b318554074bd981
parent 7aabb9ed69eb73c97485c65db2e59e910dc21e71
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Fri, 6 Mar 2020 15:57:12 -0800
messing with the opacity rules
Diffstat:
1 file changed, 31 insertions(+), 43 deletions(-)
diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf
@@ -1,13 +1,27 @@
# vim filetype=cfg
-
opacity-rule = [
- "85:class_g = 'st-256color' && !focused",
- "50:class_g = 'st-256color' && focused",
- "77:class_g = 'Conky' ",
- #"88:name = 'lemonbar' ",
- #"80:class_g = 'mpv' ",
+ # st
+ "70:class_g = 'St' && !focused",
+ "92:class_g = 'St' && focused",
+ # surf
+ "90:class_g = 'Surf' && !focused",
+ # etc
+ "100:name = 'lemonbar' ",
+ "100:class_g = 'mpv' ",
+ "100:class_g = 'qutebrowser' ",
+ "100:class_g = 'LBRY' ",
];
+blur-background-exclude = [
+ "class_g = 'St' && !focused",
+];
+
+fade-exclude = [
+];
+focus-exclude = [
+];
+
+
backend = "glx";
@@ -15,70 +29,44 @@ glx-no-stencil = true;
glx-copy-from-front = false;
glx-no-rebind-pixmap = true;
-
-
shadow = false;
-shadow-radius = 0;
-shadow-offset-x = -5;
-shadow-offset-y = -5;
-shadow-opacity = 0;
-shadow-ignore-shaped = false;
-shadow-exclude = [
-];
-
+shadow-radius = 3;
+shadow-offset-x = -3;
+shadow-offset-y = -3;
+shadow-opacity = 100;
+shadow-ignore-shaped = true;
+shadow-exclude = [];
inactive-opacity = 0.5;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = true;
-
inactive-dim = 0.2;
-
-
blur-background = false;
blur-radius = 0;
blur-background-fixed = false;
blur-background-frame = true; # blur on or off
#blur-kern = "3x3box"
-blur-kern = "5x5box"
-#blur-kern = "7x7box" # lots of blur
-blur-background-exclude = [
-];
+#blur-kern = "5x5box"
+blur-kern = "7x7box" # lots of blur
-fading = true;
+fading = false;
fade-delta = 0.8;
fade-in-step = 0.03;
fade-out-step = 0.03;
no-fading-openclose = true;
-fade-exclude = [ ];
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
detect-rounded-corners = false;
-detect-client-opacity = true;
-refresh-rate = 60;
+detect-client-opacity = false;
+refresh-rate = 30;
vsync = true;
dbe = false;
unredir-if-possible = false;
-focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
xrender-sync-fence = true;
-
-wintypes:
-{
- tooltip =
- {
- # fade: Fade the particular type of windows.
- fade = true;
- # shadow: Give those windows shadow
- shadow = false;
- # opacity: Default opacity for the type of windows.
- opacity = 0.85;
- # focus: Whether to always consider windows of this type focused.
- focus = true;
- };
-};