Advertisement
wizard10000

picom.conf.20210823

Aug 23rd, 2021
1,411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.86 KB | None | 0 0
  1. daemon = true;
  2.  
  3. # backend glx
  4. # backend = "glx";
  5. # glx-no-stencil = true;
  6. # glx-no-rebind-pixmap = true;
  7. # glx-copy-from-front = false;
  8. # glx-use-copysubbuffermesa = true;
  9. # glx-swap-method = "undefined";
  10.  
  11. # backend xrender
  12. backend = "xrender";
  13. xrender-sync-fence = true;
  14. # vsync = "opengl";
  15.  
  16. # all backends
  17. unredir-if-possible = true;
  18. sw-opti = true;
  19. use-damage = true;
  20. vsync = true;
  21.  
  22. # Other
  23. mark-wmwin-focused = true;
  24. mark-ovredir-focused = true;
  25. # use-ewmh-active-win = true;
  26. detect-rounded-corners = true;
  27. refresh-rate = 0;
  28. # sw-opti = true;
  29. # unredir-if-possible = true;
  30. # unredir-if-possible-delay = 5000;
  31. # unredir-if-possible-exclude = [ ];
  32. focus-exclude = [ ];
  33. detect-transient = true;
  34. detect-client-leader = true;
  35. invert-color-include = [ ];
  36. # resize-damage = 1;
  37.  
  38. # Shadow
  39. shadow = true;          # Enabled client-side shadows on windows.
  40. clear-shadow = true;        # Zero the part of the shadow's mask behind the window (experimental).
  41. shadow-radius = 7;      # The blur radius for shadows. (default 12)
  42. shadow-offset-x = -7;       # The left offset for shadows. (default -15)
  43. shadow-offset-y = -7;       # The top offset for shadows. (default -15)
  44. # The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
  45. # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
  46. # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
  47. shadow-exclude = [
  48.  "! name~=''",
  49.  "n:e:Notification",
  50.  "g:e:conky",
  51.  "n:w:*Firefox*",
  52.  "n:w:*Chrome*",
  53.  "n:w:*Chromium*",
  54.  "n:w:*tilda*",
  55.  "class_g ?= 'Notify-osd'",
  56.  "_GTK_FRAME_EXTENTS@:c"
  57. ];
  58. # shadow-exclude = "n:e:Notification";
  59. # shadow-exclude-reg = "x10+0+0";
  60. # xinerama-shadow-crop = true;
  61.  
  62.  
  63. # Fading
  64. fading = true; # Fade windows during opacity changes.
  65. # fade-delta = 3; # The time between steps in a fade in milliseconds. (default 10).
  66. fade-delta = 3;
  67. # fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
  68. fade-in-step = 0.04;
  69. # fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
  70. fade-out-step = 0.04;
  71. fade-exclude = [ ];
  72. #no-fading-openclose = true; # Fade windows in/out when opening/closing
  73. no-fading-openclose = false;
  74. # no-fading-destroyed-argb = true;
  75.  
  76. # Opacity
  77. detect-client-opacity = true; # this prevents opacity being ignored for some apps
  78. inactive-opacity-override = false;
  79. inactive-window-opacity = 1;  # inactive windows transparent
  80. inactive-opacity = 0.3;
  81. menu-opacity = 0.95;
  82. opacity-rule = [
  83.  "99:name *= 'conky (wizard-laptop)'",
  84.  "99:name *= 'conky (wizard-fujitsu)'",
  85.  "99:name *= 'conky (wizard-dell)'",
  86.  "99:name *= 'conky (wizard-server)'",
  87.  "99:name *= 'audacious'",
  88.  "99:class_g = 'Firefox' && argb",
  89.  "95:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
  90.  "0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
  91.  "0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'",
  92.  "0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'",
  93.  "0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'",
  94.  "0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'"
  95. ];
  96.  
  97. # Blur
  98. # blur-background = true;
  99. # blur-background-frame = true;
  100. blur-kern = "3x3box";
  101. # 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";
  102. # blur-background-fixed = true;
  103. blur-background-exclude = [
  104.     "window_type = 'dock'",
  105.     "window_type = 'desktop'",
  106.     "_GTK_FRAME_EXTENTS@:c"
  107. ];
  108.  
  109. # window type settings
  110. wintypes:
  111. {
  112.   menu = { opacity = 99; fade = false; shadow = false; };
  113.   tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
  114.   dock = { shadow = false; }
  115.   dnd = { shadow = false; }
  116.   popup_menu = { opacity = 0.8; }
  117.   dropdown_menu = { opacity = 0.8; }
  118. };
  119.  
  120.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement