summaryrefslogtreecommitdiff
path: root/picom/picom.conf
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2024-04-17 11:10:25 +0200
committermarcellus <msimon_fr@hotmail.com>2024-04-17 11:10:25 +0200
commit0173c966ca715c14c9483b2e5e44d27173604638 (patch)
tree922a7a42d8a84e420b337f65f6c665b642026918 /picom/picom.conf
parent9dc92655116548e0e2be487b048f336cc9a5f148 (diff)
updates: read the diff
Diffstat (limited to 'picom/picom.conf')
-rw-r--r--picom/picom.conf135
1 files changed, 104 insertions, 31 deletions
diff --git a/picom/picom.conf b/picom/picom.conf
index 573f1d6..4cf5b90 100644
--- a/picom/picom.conf
+++ b/picom/picom.conf
@@ -1,4 +1,33 @@
#################################
+# Animations #
+#################################
+
+
+# fly-in: Windows fly in from random directions to the screen
+# maximize: Windows pop from center of the screen to their respective positions
+# minimize: Windows minimize from their position to the center of the screen
+# slide-in-center: Windows move from upper-center of the screen to their respective positions
+# slide-out-center: Windows move to the upper-center of the screen
+# slide-left: Windows are created from the right-most window position and slide leftwards
+# slide right: Windows are created from the left-most window position and slide rightwards
+# slide-down: Windows are moved from the top of the screen and slide downward
+# slide-up: Windows are moved from their position to top of the screen
+# squeeze: Windows are either closed or created to/from their center y-position (the animation is similar to a blinking eye)
+# squeeze-bottom: Similar to squeeze, but the animation starts from bottom-most y-position
+# zoom: Windows are either created or destroyed from/to their center (not the screen center)
+
+animations = true;
+animation-stiffness = 90;
+animation-window-mass = 0.5;
+animation-dampening = 10;
+animation-for-transient-window = "fly-in";
+animation-for-unmap-window = "fly-in";
+animation-for-open-window = "fly-in";
+
+# animating-rule-open = ["zoom:class_g = 'code'"];
+# animating-rule-unmap = ["zoom:class_g = 'code'"];
+
+#################################
# Shadows #
#################################
@@ -12,18 +41,18 @@ shadow = false;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
-shadow-radius = 10;
+shadow-radius = 7;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
-shadow-offset-x = -10;
+shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
-shadow-offset-y = -10;
+shadow-offset-y = -7;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
@@ -61,9 +90,23 @@ shadow-exclude = [
#
# shadow-exclude-reg = ""
-# Crop shadow of a window fully on a particular Xinerama screen to the screen.
-# xinerama-shadow-crop = false
+# Crop shadow of a window fully on a particular monitor to that monitor. This is
+# currently implemented using the X RandR extension.
+# crop-shadow-to-monitor = false
+
+# shadow-color-rule = ["#FFFFFF:class_g = 'fly-term'"];
+# shadow-opacity-rule = ["20:class_g = 'fly-term'" ];
+# shadow-offset-x-rule = ["-100:class_g = 'fly-term'"];
+# shadow-offset-y-rule = ["-100:class_g = 'fly-term'"];
+# shadow-radius-rule = ["100:class_g = 'fly-term'"];
+# If shadow-active is 'true' the tweaks below will be applied to the currently focused window
+# shadow-active = true;
+# shadow-color-active = "#FFFFF";
+# shadow-opacity-active = 0.5;
+# shadow-radius-active = 50;
+# shadow-offset-x-active = -50;
+# shadow-offset-y-active = -50;
#################################
# Fading #
@@ -103,18 +146,18 @@ fade-out-step = 0.03;
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
-inactive-opacity = 0.95;
+# inactive-opacity = 0.8;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
-frame-opacity = 0.9;
+# frame-opacity = 0.7;
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
# inactive-opacity-override = true
-inactive-opacity-override = true;
+inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
-active-opacity = 0.95;
+# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
@@ -131,7 +174,10 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
-opacity-rule = [ "100:class_g= 'mpv'", "95:name *= 'librewolf'" ];
+opacity-rule = [
+ "95:class_g = 'Polybar'",
+];
+#
# opacity-rule = []
@@ -142,14 +188,16 @@ opacity-rule = [ "100:class_g= 'mpv'", "95:name *= 'librewolf'" ];
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
-corner-radius = 0;
+corner-radius = 5
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"window_type = 'dock'",
- "window_type = 'desktop'"
+ "window_type = 'desktop'",
+ "class_g = 'Polybar'",
];
+# corners-rounding-rule = [ "10:class_g = 'fly-term'" ];
#################################
# Background-Blurring #
@@ -157,12 +205,10 @@ rounded-corners-exclude = [
# Parameters for background blurring, see the *BLUR* section for more information.
-# blur-method =
+# blur-method = "kawase"
# blur-size = 12
-#
-# blur-deviation = false
-#
-# blur-strength = 5;
+# # blur-deviation = false
+# blur-strength = 10
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
@@ -175,7 +221,7 @@ rounded-corners-exclude = [
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
-# blur-background-frame = false
+# blur-background-frame = true
# Use fixed blur strength rather than adjusting according to window opacity.
@@ -187,7 +233,7 @@ rounded-corners-exclude = [
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ""
-blur-kern = "3x3box";
+# blur-kern = "3x3box";
# Exclude conditions for background blur.
@@ -198,6 +244,11 @@ blur-background-exclude = [
"_GTK_FRAME_EXTENTS@:c"
];
+# blur-method-rule = [ "kawase:class_g = 'fly-term'" ];
+# blur-size-rule = [ "10:class_g = 'fly-term'" ];
+# blur-strength-rule = [ "1:class_g = 'fly-term'" ];
+# blur-deviation-rule = [ "10:class_g = 'fly-term'" ];
+
#################################
# General Settings #
#################################
@@ -208,19 +259,21 @@ blur-background-exclude = [
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
-# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
+# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = "glx"
backend = "xrender";
+# Use higher precision during rendering, and apply dither when presenting the
+# rendered screen. Reduces banding artifacts, but might cause performance
+# degradation. Only works with OpenGL.
+dithered-present = false;
+
# Enable/disable VSync.
# vsync = false
vsync = true;
-# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
-# dbus = false
-
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
@@ -297,7 +350,7 @@ detect-transient = true;
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
-glx-no-stencil = true;
+# glx-no-stencil = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
@@ -312,7 +365,7 @@ glx-no-stencil = true;
# The opposing option is use-damage
#
# no-use-damage = false
-use-damage = true;
+use-damage = false;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
@@ -417,11 +470,31 @@ log-level = "warn";
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
-wintypes:
+
+wintypes :
{
- tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
- dock = { shadow = false; clip-shadow-above = true; }
- dnd = { shadow = false; }
- popup_menu = { opacity = 0.8; }
- dropdown_menu = { opacity = 0.8; }
+ tooltip :
+ {
+ animation = "squeeze";
+ };
+ popup_menu :
+ {
+ animation = "slide-up";
+ };
+ dropdown_menu :
+ {
+ animation = "slide-down";
+ };
+ dialog :
+ {
+ animation = "squeeze";
+ };
+ menu :
+ {
+ animation = "slide-down";
+ };
+ notification :
+ {
+ animation = "squeeze";
+ };
};