From b77d3c98a4000c5ccc4a2b3579195e3fb43f333a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 9 Mar 2023 22:27:51 +0100 Subject: picom conf animations with ft-labs picom fork --- .config/picom.conf | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .config/picom.conf (limited to '.config/picom.conf') 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; + -- cgit v1.2.3