picom.conf 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. shadow = true;
  2. shadow-radius = 7;
  3. #shadow-opacity = .6
  4. shadow-offset-x = -7;
  5. shadow-offset-y = -7;
  6. shadow-color = "#000000"
  7. ## ----- Fading ----- ##
  8. fading = true;
  9. fade-in-step = 0.03;
  10. fade-out-step = 0.03;
  11. fade-delta = 5
  12. no-fading-openclose = false
  13. no-fading-destroyed-argb = false
  14. ## ----- Transparency ----- ##
  15. frame-opacity = 1.0;
  16. # inactive-dim-fixed = true
  17. ## ----- Corners ----- ##
  18. corner-radius = 6
  19. #################################
  20. # General Settings #
  21. #################################
  22. # Available backends "xrender" "glx" "egl"
  23. backend = "glx"
  24. dithered-present = false;
  25. vsync = true;
  26. detect-rounded-corners = true;
  27. detect-client-opacity = true;
  28. detect-transient = true;
  29. use-damage = true;
  30. # xrender-sync-fence = false
  31. # transparent-clipping = false
  32. #################################
  33. # Rules #
  34. #################################
  35. blur:
  36. {
  37. method = "gaussian";
  38. size = 10;
  39. deviation = 2.5;
  40. }
  41. rules: (
  42. {
  43. blur-background = false;
  44. fade = false;
  45. },
  46. {
  47. match = "window_type = 'normal'";
  48. fade = true; #-fade-switch
  49. shadow = true; #-shadow-switch
  50. },
  51. {
  52. match = "window_type = 'dialog'";
  53. shadow = true; #-shadow-switch
  54. },
  55. {
  56. match = "window_type = 'tooltip'";
  57. corner-radius = 0;
  58. opacity = 0.90;
  59. },
  60. {
  61. match = "window_type = 'dock'";
  62. corner-radius = 0;
  63. fade = true;
  64. },
  65. {
  66. match = "window_type = 'dropdown_menu' || window_type = 'menu' || window_type = 'popup' || window_type = 'popup_menu'";
  67. corner-radius = 0;
  68. },
  69. {
  70. match = "class_g = 'Alacritty' || class_g = 'kitty' || class_g = 'FloaTerm'";
  71. opacity = 1.0; #-term-opacity-switch
  72. blur-background = false; #-blur-switch
  73. },
  74. {
  75. match = "class_g = 'Scratch' || class_g = 'Updating'";
  76. opacity = 0.93;
  77. blur-background = false; #-blur-switch
  78. },
  79. {
  80. match = "class_g = 'Polybar' || "
  81. "class_g = 'eww-bar' || "
  82. "class_g = 'Viewnior' || "
  83. "class_g = 'Rofi' || "
  84. "class_g = 'mpv' || "
  85. "class_g = 'scratch' || "
  86. "class_g = 'Dunst' || "
  87. "class_g = 'retroarch'";
  88. corner-radius = 0;
  89. },
  90. {
  91. match = "name = 'Notification' || "
  92. "class_g ?= 'Notify-osd' || "
  93. "class_g = 'Dunst' || "
  94. "class_g = 'Polybar' || "
  95. "class_g = 'jgmenu' || "
  96. "class_g = 'scratch' || "
  97. "class_g = 'Spotify' || "
  98. "class_g = 'retroarch' || "
  99. "class_g = 'firefox' || "
  100. "class_g = 'Rofi' || "
  101. "class_g = 'Screenkey' || "
  102. "class_g = 'mpv' || "
  103. "class_g = 'Viewnior' || "
  104. "_GTK_FRAME_EXTENTS@";
  105. shadow = false;
  106. },
  107. @include "picom-animations.conf"
  108. )