picom.conf 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. # Shadow
  2. shadow = true;
  3. shadow-radius = 12;
  4. shadow-offset-x = -12;
  5. shadow-offset-y = -12;
  6. shadow-opacity = 0.7;
  7. # shadow-red = 0.0;
  8. # shadow-green = 0.0;
  9. # shadow-blue = 0.0;
  10. # shadow-exclude-reg = "x10+0+0";
  11. # xinerama-shadow-crop = true;
  12. shadow-exclude = [
  13. "name = 'Notification'",
  14. "class_g = 'Conky'",
  15. "class_g ?= 'Notify-osd'",
  16. "class_g = 'Cairo-clock'",
  17. "class_g = 'slop'",
  18. "class_g = 'Firefox' && argb",
  19. "class_g = 'Rofi'",
  20. "_GTK_FRAME_EXTENTS@:c",
  21. "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
  22. ];
  23. # Logs
  24. log-level = "ERROR";
  25. log-file = "~/.cache/picom-log.log";
  26. # Opacity
  27. # inactive-opacity = 0.8;
  28. # active-opacity = 0.8;
  29. # frame-opacity = 0.7;
  30. inactive-opacity-override = false;
  31. opacity-rule = [
  32. "80:class_g = 'URxvt'",
  33. "80:class_g = 'UXTerm'",
  34. "80:class_g = 'XTerm'",
  35. "99:window_type = 'normal'", # Add a tiny bit of opacity to all normal windows to apply blur
  36. "99:window_type = 'dialog'", # Add a tiny bit of opacity to all dialog windows to apply blur
  37. "99:window_type = 'popup_menu'", # Add a tiny bit of opacity to all popup_menu windows to apply blur
  38. "99:window_type = 'notification'" # Add a tiny bit of opacity to all popup_menu windows to apply blur
  39. ];
  40. # inactive-dim = 0.2;
  41. # inactive-dim-fixed = true;
  42. # Blur
  43. blur: {
  44. method = "dual_kawase";
  45. strength = 6.9;
  46. # deviation = 1.0;
  47. # kernel = "11x11gaussian";
  48. }
  49. # blur-background = true;
  50. # blur-background-frame = true;
  51. # blur-kern = "3x3box";
  52. # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
  53. # blur-background-fixed = true;
  54. blur-background-exclude = [
  55. "window_type = 'desktop'",
  56. "window_type = 'utility'",
  57. "window_type = 'notification'",
  58. "class_g = 'slop'",
  59. "class_g = 'Firefox' && argb",
  60. "name = 'rofi - Search'",
  61. "_GTK_FRAME_EXTENTS@:c"
  62. ];
  63. # max-brightness = 0.66
  64. # Fading
  65. fading = true;
  66. fade-delta = 3;
  67. fade-in-step = 0.03;
  68. fade-out-step = 0.03;
  69. # no-fading-openclose = true;
  70. # no-fading-destroyed-argb = true;
  71. fade-exclude = [ ];
  72. # Other
  73. backend = "glx";
  74. mark-wmwin-focused = true;
  75. mark-ovredir-focused = true;
  76. # use-ewmh-active-win = true;
  77. detect-rounded-corners = true;
  78. detect-client-opacity = true;
  79. refresh-rate = 0;
  80. vsync = true;
  81. # sw-opti = true;
  82. unredir-if-possible = false;
  83. # unredir-if-possible-delay = 5000;
  84. # unredir-if-possible-exclude = [ ];
  85. # focus-exclude = [ "class_g = 'Cairo-clock'" ];
  86. focus-exclude = [
  87. "class_g = 'Cairo-clock'",
  88. "class_g ?= 'rofi'",
  89. "class_g ?= 'slop'",
  90. "class_g ?= 'Steam'"
  91. ];
  92. detect-transient = true;
  93. detect-client-leader = true;
  94. invert-color-include = [ ];
  95. # resize-damage = 1;
  96. # GLX backend
  97. glx-no-stencil = true;
  98. # glx-no-rebind-pixmap = true;
  99. # xrender-sync-fence = true;
  100. use-damage = true;
  101. # Window type settings
  102. wintypes:
  103. {
  104. tooltip = { fade = true; shadow = false; focus = false; };
  105. normal = { shadow = false; };
  106. dock = { shadow = false; };
  107. dnd = { shadow = false; };
  108. popup_menu = { shadow = true; focus = false; opacity = 0.90; };
  109. dropdown_menu = { shadow = false; focus = false; };
  110. above = { shadow = true; };
  111. splash = { shadow = false; };
  112. utility = { focus = false; shadow = false; };
  113. notification = { shadow = false; };
  114. desktop = { shadow = false };
  115. menu = { focus = false };
  116. dialog = { shadow = true; };
  117. };