~/.config/picom/picom.conf

 #################################

# Backend Settings
#################################

# Use the "glx" backend for better performance.
backend = "glx";

#################################
# General Settings
#################################

# Enable vsync to reduce screen tearing.
vsync = true;

# Enable fading effects for windows.
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-delta = 5;

# Shadow settings for windows.
shadow = false;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.7;

#################################
# Transparency Settings
#################################

# Enable inactive window transparency.
inactive-opacity = 0.85;       # Set transparency for inactive windows (0-1 range).
active-opacity = 1.0;          # Set opacity for active windows (1 is fully opaque).
frame-opacity = 0.8;           # Set frame opacity.

# Define opacity rules for specific windows (e.g., terminals).
opacity-rule = [
    "80:class_g = 'Alacritty'",  # Example for Alacritty terminal.
    "90:class_g = 'Gnome-terminal'",  # Example for GNOME Terminal.
    "80:class_g = 'kitty'",  # Example for Kitty terminal.
];

# Dim inactive windows, setting dimming level (0-1).
inactive-dim = 0.1;

#################################
# Blur Settings
#################################

blur-background = true;
blur-method = "gaussian";
blur-strength = 5;

#################################
# Exclusions
#################################

# Prevent specific windows from being affected by picom effects.
# Example: Skip blur for fullscreen applications and docks.
blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'",
    "class_g = 'Spotify'",
    "class_g = 'Polybar'",
    "_GTK_FRAME_EXTENTS@:c",
];

#################################
# Other Effects
#################################

# Use experimental backends.
use-damage = true;

# Enable corner radius (rounding corners).
corner-radius = 5;

Comments

Popular posts from this blog

~/.config/i3/config

~/.config/polybar/config