aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-02-19 15:46:00 +0100
committerlonkaars <loek@pipeframe.xyz>2022-02-19 15:46:00 +0100
commit3fc865c55d283f13101966b782ae44aec09a8b65 (patch)
tree8ea21df78710967802b5fa3b3853d0dd4e6b056a
parent72d16f83dafbe34eecbba3f7f0ef4f6cd1216a02 (diff)
add rounded corners to floating windows in picom.conf
-rw-r--r--.config/picom.conf32
1 files changed, 10 insertions, 22 deletions
diff --git a/.config/picom.conf b/.config/picom.conf
index 925ce7a..81c3429 100644
--- a/.config/picom.conf
+++ b/.config/picom.conf
@@ -3,22 +3,25 @@ shadow-radius = 48;
shadow-opacity = 0.3;
shadow-offset-y = -48;
shadow-offset-x = -48;
+corner-radius = 7;
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;
- corner-radius = 0;
opacity = 0.999;
};
desktop = {
shadow = false;
- corner-radius = 0;
};
tooltip = {
@@ -36,24 +39,9 @@ wintypes: {
};
};
-# combo
-# desktop
-# dialog
-# dnd
-# dock
-# dropdown_menu
-# menu
-# normal
-# notify
-# popup_menu
-# splash
-# toolbar
-# tooltip
-# unknown
-# utility
-
-# animations = true;
-# animation-stiffness = 500.0;
-# animation-dampening = 20.0;
-# animation-window-mass = 0.1;
+animations = true;
+animation-stiffness = 500.0;
+animation-dampening = 20.0;
+animation-window-mass = 0.1;
+animation-for-open-window = "zoom";