dotfiles/.config/bspwm/picom.conf
Sarthak 9853553782 control panel: fix css priority, drop blur, soften active tiles
The panel styled itself at PRIORITY_APPLICATION (600) while
~/.config/gtk-3.0/gtk.css loads at PRIORITY_USER (800) and styles plain
'button'. The user sheet won, so tile backgrounds never applied - but the
more specific '.tile.active .tile-icon { color: #0f0d17 }' did, which is why
icons rendered black on dark tiles. The panel now loads at USER + 1.

- global blur made every translucent window fuzzy, not just the panel: removed
- picom no longer re-rounds the panel; it clipped at 12px over an 18px css
  radius and chewed the corners
- active tiles are a tint plus an accent border rather than a solid accent fill
- 10px transparent gutter outside the card, 20px padding inside
- the particles tile was using a television glyph; now an atom

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cn3dHfbgNYdbZvzb1b3GQt
2026-09-04 08:40:16 +05:30

73 lines
1.8 KiB
Text

#################################
# Backend
#################################
backend = "glx";
vsync = true;
#################################
# Animations (smooth but light)
#################################
animations = true;
animation-stiffness = 200;
animation-dampening = 20;
animation-clamping = true;
animation-for-open-window = "zoom";
animation-for-unmap-window = "fade";
animation-for-transient-window = "zoom";
#################################
# Fading (subtle smoothness)
#################################
fading = true;
fade-in-step = 0.04;
fade-out-step = 0.04;
fade-delta = 5;
#################################
# Transparency (ONLY terminal)
#################################
inactive-opacity = 1.0;
active-opacity = 1.0;
opacity-rule = [
"85:class_g = 'kitty'"
];
#################################
# Shadows (optional but light)
#################################
shadow = false;
#################################
# Performance / sanity
#################################
unredir-if-possible = true;
detect-client-opacity = true;
use-damage = true;
log-level = "warn";
# --- rounded corners ---
corner-radius = 12;
round-borders = 1;
rounded-corners-exclude = [
# the particles layer is a full-screen desktop window; clipping it would
# notch the corners of the field
"window_type = 'desktop'",
# polybar rounds its own background
"window_type = 'dock'",
# never round a fullscreen game
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_FULLSCREEN'",
# the control panel draws its own rounded card; picom clipping it at a
# different radius made the corners look chewed
"class_g = 'Control-panel.py'",
];
# The control centre redraws by relaunching rofi, so the open/close zoom and
# fade read as flicker. Exclude rofi from both.
fade-exclude = [
"class_g = 'Rofi'",
];
animation-exclude = [
"class_g = 'Rofi'",
];