aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-05-06 06:01:24 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2025-05-06 06:01:24 +0200
commit531fc7b3ac51ad4b89755b95565076f5f76eac49 (patch)
tree2b88ed2435c2823b7bd4e2bffe5600ea30316781
parent3db34c95553e760ca6425653d19baa771f9744f9 (diff)
polybar slide animation
-rw-r--r--.config/picom.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/picom.conf b/.config/picom.conf
index 111ad71..30e2693 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -53,6 +53,20 @@ rules = (
match = "window_type *= 'dock'";
shadow = false;
corner-radius = 0;
+ animations = (
+ {
+ triggers = [ "open" ];
+ preset = "slide-in";
+ direction = "up";
+ duration = 0.175;
+ },
+ {
+ triggers = [ "close" ];
+ preset = "slide-out";
+ direction = "up";
+ duration = 0.175;
+ },
+ );
},
{
match = "window_type *= 'combo'";