##################################################################### # picom.conf — pentest-env Rose Pine compositor. # Targets mainline yshui/picom v10/v11 (Kali apt). No fork required: # corner-radius, blur (dual_kawase), fading and shadows are all native. # Deployed to ~/.config/picom/picom.conf. ##################################################################### # ── backend ──────────────────────────────────────────────────────── backend = "glx"; # glx = GPU path; falls back fine in Parallels vsync = true; use-damage = true; # ── rounded corners ──────────────────────────────────────────────── corner-radius = 10; # keep these square (bars / root): no ugly rounded polybar rounded-corners-exclude = [ "window_type = 'dock'", "class_g = 'Polybar'", "class_g = 'Rofi'" ]; # ── shadows ──────────────────────────────────────────────────────── shadow = true; shadow-radius = 14; shadow-opacity = 0.45; shadow-offset-x = -14; shadow-offset-y = -14; shadow-color = "#191724"; # Rose Pine base shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'slop'", "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; # ── fading ───────────────────────────────────────────────────────── fading = true; fade-in-step = 0.04; fade-out-step = 0.04; fade-delta = 5; # ── transparency / blur ──────────────────────────────────────────── inactive-opacity = 0.94; active-opacity = 1.0; frame-opacity = 1.0; inactive-opacity-override = false; blur-method = "dual_kawase"; blur-strength = 5; blur-background = true; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; # per-window opacity rules (terminals get a subtle glass look; tools stay solid) opacity-rule = [ "100:class_g = 'Wireshark'", "100:class_g *?= 'burp'", "100:fullscreen", "92:class_g = 'Alacritty' && focused", "86:class_g = 'Alacritty' && !focused", "90:class_g = 'Rofi'" ]; # ── window-type tweaks ───────────────────────────────────────────── wintypes: { tooltip = { fade = true; shadow = false; opacity = 0.9; focus = true; }; dock = { shadow = false; }; dnd = { shadow = false; }; popup_menu = { opacity = 0.95; }; dropdown_menu = { opacity = 0.95; }; };