# picom.conf

# General Settings
backend = "glx"  # Render backend
vsync = true          # Vertical sync (for smoother frame rates)

# Transparency Settings
opacity-rule = [
    "90:class_g = 'Kitty'",  # Example: Alacritty terminal with 90% opacity
    "100:class_g = 'firefox'",
    "100:class_g = 'i3bar'",
    "100:class_g = 'i3lock'",
    "100:class_g = 'Signal'",
    "100:class_g = 'vesktop'",
    "100:class_g = 'TelegramDesktop'",
    "100:class_g = 'Element'"
]


# Shadows
shadow = true
shadow-radius = 12
shadow-offset-x = 4
shadow-offset-y = 4
shadow-opacity = 0.5

# Rounded Corners
corner-radius = 3  # Slightly rounded corners (adjust as needed)
rounded-corners = false

# Fading
fading = false  # Disable fade effect

# Transparency
opacity = 0.95        # Default opacity of all windows
inactive-opacity = 0.95  # Opacity when a window is inactive

# Background color of transparent windows
blur-background = false  # Disable blur background (not needed here)

# Disable animations
use-damage = true  # Enable or disable damage tracking (no animations)
detect-client-opacity = true
use-ewmh-active-win = true
