diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-09-22 13:08:09 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-09-22 13:08:09 +0200 |
commit | 49c415a0a0036808fc8bbd843474c77684a0a3a7 (patch) | |
tree | f03e4d23355906fb9dee156c35cf043685129b2a /.config/picom.conf##template | |
parent | 9293bd808111f576f981d0d93ca8d715d22cd7e5 (diff) |
subtile fixes
Diffstat (limited to '.config/picom.conf##template')
-rw-r--r-- | .config/picom.conf##template | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/.config/picom.conf##template b/.config/picom.conf##template new file mode 100644 index 0000000..1cb9800 --- /dev/null +++ b/.config/picom.conf##template @@ -0,0 +1,55 @@ +backend = "glx"; +shadow = true; +{% if yadm.hostname == "thoncc" %} +shadow-radius = 24; +shadow-opacity = 0.15; +shadow-offset-y = -24; +shadow-offset-x = -24; +{% else %} +shadow-radius = 48; +shadow-opacity = 0.3; +shadow-offset-y = -48; +shadow-offset-x = -48; +{% endif %} +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'" +] + +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 = 500.0; +animation-dampening = 20.0; +animation-window-mass = 0.1; +animation-for-open-window = "zoom"; + |