aboutsummaryrefslogtreecommitdiff
path: root/picom/.config
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2024-09-03 18:45:07 +0200
committerdavidpkj <davidpenkow1@gmail.com>2024-09-03 18:45:07 +0200
commit8e32253d5d79c89ecc2111e3e2f3cc629d1f33b4 (patch)
treeab7d116bc2eb4959cc396d03281838e557e15212 /picom/.config
parent60f03c00adecada5c4408834f250d9817209314f (diff)
August 2024 Updates
Diffstat (limited to 'picom/.config')
-rw-r--r--picom/.config/picom/picom.conf92
1 files changed, 76 insertions, 16 deletions
diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf
index adc522d..f58f70b 100644
--- a/picom/.config/picom/picom.conf
+++ b/picom/.config/picom/picom.conf
@@ -1,13 +1,9 @@
-shadow = true;
-shadow-radius = 20
-shadow-opacity = 0.5
-shadow-offset-x = -20;
-shadow-offset-y = -20;
-shadow-exclude = "x = 0 && y = 0 && override_redirect = true";
+# Config needs at least picom rev 3d3f360
-fading = true
-fade-in-step = 0.05;
-fade-out-step = 0.05;
+shadow = false;
+shadow-radius = 15
+shadow-color = "#0c0c0c"
+shadow-exclude = "x = 0 && y = 0 && override_redirect = true";
corner-radius = 0
@@ -19,8 +15,6 @@ vsync = true
# "grayscale.glsl:class_g = 'st' && !_NET_WM_STATE@:32a"
# ]
-active-opacity: 1.95
-inactive-opacity: 1.95
mark-wmwin-focused = false
mark-ovredir-focused = false
@@ -31,12 +25,78 @@ detect-client-leader = true
use-damage = true
-animations = false
-animation-for-open-window = "zoom"
+animations = true
+animations = (
+ {
+ triggers = ["close", "hide"];
+ opacity = {
+ curve = "linear";
+ duration = 0.1;
+ start = "window-raw-opacity-before";
+ end = 0;
+ };
+ shadow-opacity = "opacity";
+ },
+ {
+ triggers = ["open", "show"];
+ opacity = {
+ curve = "cubic-bezier(0,1,1,1)";
+ duration = 0.3;
+ start = 0;
+ end = "window-raw-opacity";
+ };
+ shadow-opacity = "opacity";
+ offset-x = "(1 - scale-x) / 2 * window-width";
+ offset-y = "(1 - scale-y) / 2 * window-height";
+ scale-x = {
+ curve = "cubic-bezier(0,1.3,1,1)";
+ duration = 0.3;
+ start = 0.6;
+ end = 1;
+ };
+ scale-y = "scale-x";
+ shadow-scale-x = "scale-x";
+ shadow-scale-y = "scale-y";
+ shadow-offset-x = "offset-x";
+ shadow-offset-y = "offset-y";
+ },
+ {
+ triggers = ["geometry"]
+ scale-x = {
+ curve = "cubic-bezier(0,0,0,1.28)";
+ duration = 0.22;
+ start = "window-width-before / window-width";
+ end = 1;
+ }
+ scale-y = {
+ curve = "cubic-bezier(0,0,0,1.28)";
+ duration = 0.22;
+ start = "window-height-before / window-height";
+ end = 1;
+ }
+ offset-x = {
+ curve = "cubic-bezier(0,0,0,1.28)";
+ duration = 0.22;
+ start = "window-x-before - window-x";
+ end = 0;
+ }
+ offset-y = {
+ curve = "cubic-bezier(0,0,0,1.28)";
+ duration = 0.22;
+ start = "window-y-before - window-y";
+ end = 0;
+ }
+
+ shadow-scale-x = "scale-x";
+ shadow-scale-y = "scale-y";
+ shadow-offset-x = "offset-x";
+ shadow-offset-y = "offset-y";
+ }
+);
wintypes:
{
- tooltip = { fade = true; shadow = true; focus = true; full-shadow = false; };
- dock = { shadow = false; }
- dnd = { shadow = false; }
+ tooltip = { focus = true; };
+ normal = { shadow = false; }
+ splash = { shadow = false; }
};