Created
June 12, 2025 22:40
-
-
Save Kourva/b355a3145f5cfa12aae570a54daa3e0b to your computer and use it in GitHub Desktop.
Modern Picon config with blur and transparency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################## | |
| # Backend + VSync # | |
| ############################################## | |
| backend = "glx"; | |
| vsync = true; # Prevent tearing | |
| experimental-backends = true; | |
| ############################################## | |
| # Shadows # | |
| ############################################## | |
| shadow = true; | |
| shadow-radius = 10; | |
| shadow-offset-x = -5; | |
| shadow-offset-y = 0; | |
| shadow-opacity = 0.4; | |
| shadow-color = "#000000"; | |
| shadow-red = 0.11; | |
| shadow-green = 0.12; | |
| shadow-blue = 0.13; | |
| shadow-exclude = [ | |
| "name = 'Notification'", | |
| "_GTK_FRAME_EXTENTS@:c", | |
| "class_g = 'mpv'", | |
| "class_g = 'vlc'", | |
| "window_type = 'desktop'" | |
| ]; | |
| shadow-ignore-shaped = true; | |
| ############################################## | |
| # Blur Only # | |
| ############################################## | |
| blur-background = true; | |
| blur-background-frame = true; | |
| blur-background-fixed = true; | |
| blur-kern = "7x7box"; | |
| blur-method = "dual_kawase"; | |
| blur-strength = 7; | |
| blur-background-exclude = [ | |
| "class_g = 'mpv'", | |
| "class_g = 'vlc'", | |
| "window_type = 'desktop'", | |
| "_GTK_FRAME_EXTENTS@:c" | |
| ]; | |
| ############################################## | |
| # Opacity (Only Inactive Dimming) # | |
| ############################################## | |
| inactive-dim = 0.2; | |
| inactive-opacity = 0.9; | |
| active-opacity = 1; | |
| frame-opacity = 1; | |
| opacity-exclude = [ | |
| "class_g = 'mpv'", | |
| "class_g = 'vlc'", | |
| "class_g = 'firefox'" | |
| ]; | |
| ############################################## | |
| # Fading # | |
| ############################################## | |
| fading = true; | |
| fade-delta = 5; | |
| fade-in-step = 0.02; | |
| fade-out-step = 0.02; | |
| fade-exclude = [ | |
| "class_g = 'mpv'", | |
| "class_g = 'vlc'", | |
| "class_g = 'firefox'", | |
| "class_g = 'Chromium'", | |
| "class_g *= 'steam'", | |
| "class_g *= 'zoom'", | |
| "window_type = 'dock'", | |
| "window_type = 'desktop'", | |
| ]; | |
| ############################################## | |
| # Window Focus Rules # | |
| ############################################## | |
| focus-exclude = [ | |
| "class_g = 'mpv'", | |
| "class_g = 'vlc'", | |
| "class_g = 'firefox'", | |
| "class_g *?= 'steam'" | |
| ]; | |
| mark-wmwin-focused = true; | |
| mark-ovredir-focused = true; | |
| unredir-if-possible = false; | |
| use-ewmh-active-win = true; | |
| ############################################## | |
| # Performance + Detection Hints # | |
| ############################################## | |
| use-damage = true; | |
| glx-no-stencil = true; | |
| glx-copy-from-front = false; | |
| detect-transient = true; | |
| detect-rounded-corners = true; | |
| detect-client-opacity = true; | |
| detect-client-leader = false; | |
| ############################################## | |
| # Window Type Rules # | |
| ############################################## | |
| wintypes: { | |
| tooltip = { fade = true; shadow = false; opacity = 1.0; focus = true; }; | |
| dnd = { shadow = false; }; | |
| }; | |
| ############################################## | |
| # Rounded Corners # | |
| ############################################## | |
| corner-radius = 0; | |
| rounded-corners-exclude = [ | |
| "class_g = 'mpv'", | |
| "class_g = 'vlc'", | |
| "window_type = 'dock'", | |
| "window_type = 'desktop'" | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment