aboutsummaryrefslogtreecommitdiff
path: root/.config/picom.conf
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-09 22:27:51 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-09 22:27:51 +0100
commitb77d3c98a4000c5ccc4a2b3579195e3fb43f333a (patch)
tree72b179aff52daa37c4d790183c14cc063cf37379 /.config/picom.conf
parentdfb458d588e26febdfb01119c4c7ca89e0457edd (diff)
picom conf animations with ft-labs picom fork
Diffstat (limited to '.config/picom.conf')
-rw-r--r--.config/picom.conf50
1 files changed, 50 insertions, 0 deletions
diff --git a/.config/picom.conf b/.config/picom.conf
new file mode 100644
index 0000000..dd60f85
--- /dev/null
+++ b/.config/picom.conf
@@ -0,0 +1,50 @@
+backend = "glx";
+shadow = true;
+shadow-radius = 48;
+shadow-opacity = 0.3;
+shadow-offset-y = -48;
+shadow-offset-x = -48;
+corner-radius = 8;
+
+shadow-exclude = [
+ "!I3_FLOATING_WINDOW@:c && class_g != 'st' && _NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_NORMAL'",
+ "!I3_FLOATING_WINDOW@:c && WM_CLASS@:s = 'st'"
+]
+
+rounded-corners-exclude = [
+ "!I3_FLOATING_WINDOW@:c && WM_CLASS@:s != 'rofi' && WM_CLASS@:s != 'dunst'"
+]
+
+wintypes: {
+ dock = {
+ shadow = false;
+ opacity = 0.999;
+ };
+
+ desktop = {
+ shadow = false;
+ };
+
+ tooltip = {
+ fade = true;
+ shadow = false;
+ opacity = 1;
+ };
+
+ menu = {
+ fade = false;
+ };
+
+ utility = {
+ shadow = false;
+ };
+};
+
+animations = true;
+animation-stiffness = 200.0;
+animation-stiffness-in-tag = 200.0;
+animation-window-mass = 0.5;
+animation-dampening = 15.0;
+animation-for-open-window = "none";
+animation-clamping = true;
+