picom.conf 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # Picom configuration file
  2. # Backend to use
  3. backend = "glx";
  4. vsync = true;
  5. # GLX backend options
  6. glx-no-stencil = true;
  7. glx-no-rebind-pixmap = true;
  8. # Blur method and background blur settings
  9. blur-method = "dual_kawase";
  10. blur-size = 12;
  11. blur-background = true;
  12. blur-background-frame = true;
  13. blur-background-fixed = false;
  14. blur-background-exclude = [
  15. "window_type = 'dock'",
  16. "window_type = 'desktop'",
  17. "_GTK_FRAME_EXTENTS@:c", # Adjusted for forked version
  18. "class_g = 'maim'"
  19. ];
  20. # Transition settings
  21. transition = true;
  22. transition-offset = 20;
  23. transition-direction = "smart-x";
  24. transition-timing-function = "ease-out-cubic";
  25. transition-step = 0.028;
  26. # Shadow settings
  27. shadow = true;
  28. shadow-radius = 10; # Original setting
  29. shadow-offset-x = -10; # Original setting
  30. shadow-offset-y = -10; # Original setting
  31. shadow-opacity = 0.7;
  32. # Fading settings
  33. fading = true;
  34. fade-in-step = 0.1;
  35. fade-out-step = 0.1;
  36. # Opacity settings using wintype options
  37. wintypes:
  38. {
  39. tooltip = { opacity = 0.75; fade = true; shadow = true; };
  40. popup_menu = { opacity = 0.8; shadow = false; };
  41. menu = { shadow = false; };
  42. dropdown_menu = { opacity = 0.8; shadow = false; };
  43. st-256color = { opacity = 0.9; blur-background = true; };
  44. Rofi = { shadow = false; }
  45. };
  46. # General settings
  47. mark-wmwin-focused = true;
  48. mark-ovredir-focused = true;
  49. detect-rounded-corners = true;
  50. detect-client-opacity = true;
  51. resize-damage = 1;
  52. # Log level
  53. log-level = "warn";
  54. # Opacity settings for windows
  55. inactive-opacity = 0.9;
  56. active-opacity = 1.0;
  57. frame-opacity = 1.0; # Original setting
  58. # Opacity settings for windows
  59. opacity-rule = [
  60. "95:class_g = 'st-256color'",
  61. "95:class_g = 'dwm'"
  62. ];
  63. corner-radius = 10;